aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-06-19 23:02:15 +0000
committerBibiko <bibiko@eva.mpg.de>2009-06-19 23:02:15 +0000
commit4c4c5c22a47417eaa458739d1599c7bb24f75053 (patch)
tree6d0f15daa532684fe215b7fdf0a3ed3219bdf7c1 /Scripts
parent77d8891b8b3dd3321eac871da0bde6fe1f38ea94 (diff)
downloadsequelpro-4c4c5c22a47417eaa458739d1599c7bb24f75053.tar.gz
sequelpro-4c4c5c22a47417eaa458739d1599c7bb24f75053.tar.bz2
sequelpro-4c4c5c22a47417eaa458739d1599c7bb24f75053.zip
• queryString: code cleaning and processing each encoding equally
- Since we are using mysql_real_query() there is no need to generate a \0 terminated cString. - The disadvantage of using UTF8String is that it returns NULL if the encoding fails. - To process each encoding equally we can now use [NSString dataUsingEncoding:enc allowLossyConversion:lossy]. In oder to avoid the overhead while calling it the following inline function is introduced: NSStringDataUsingLossyEncoding(aStr, enc, lossy) := [aStr dataUsingEncoding:enc allowLossyConversion:lossy] • import of CSV: code cleaned and optimized for speed a little
Diffstat (limited to 'Scripts')
0 files changed, 0 insertions, 0 deletions