diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-06-16 19:33:15 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-06-16 19:33:15 +0000 |
commit | 64f60651f176ba49d70790cdbb9f83488dc76612 (patch) | |
tree | d0b4a527baae228bc871790430d072e057f01ceb /Source/SPTextViewAdditions.m | |
parent | 2328cfd33463381741f29b196e867fc87676b799 (diff) | |
download | sequelpro-64f60651f176ba49d70790cdbb9f83488dc76612.tar.gz sequelpro-64f60651f176ba49d70790cdbb9f83488dc76612.tar.bz2 sequelpro-64f60651f176ba49d70790cdbb9f83488dc76612.zip |
• added to CMMCPConnection:
- register notification "SMySQLQueryWillBePerformed" to be able to identify the sender of the current query
- (void)willPerformQuery:(NSNotification *)notification
-- receives the "SMySQLQueryWillBePerformed" notification
-- if CustomQuery was the sender retryAllowed will be set to NO
• changed: now using mysql_real_query() because we've already calculated the length of the current query
• changed: now the query length will be checked in beforehand against max_allowed_packet
- if max_allowed_packet is editable increase it and reconnect
- if not outputs an informative error alert
Diffstat (limited to 'Source/SPTextViewAdditions.m')
0 files changed, 0 insertions, 0 deletions