diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-08 11:36:56 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-08 11:36:56 +0000 |
commit | 98f8a155762d3c9f69856d19d50b6d647ea9e4ae (patch) | |
tree | 222e1ecd55fcc538f66c283ae3523417541da330 /Resources | |
parent | 4f7b215bc3cb14270e2825eacc57c075eedc847e (diff) | |
download | sequelpro-98f8a155762d3c9f69856d19d50b6d647ea9e4ae.tar.gz sequelpro-98f8a155762d3c9f69856d19d50b6d647ea9e4ae.tar.bz2 sequelpro-98f8a155762d3c9f69856d19d50b6d647ea9e4ae.zip |
• added to hard-coded encoding list the DESCRIPTION field
• fixed issue while retrieving possible encodings/collations from information_schema
- in many cases
"SHOW TABLES IN information_schema LIKE 'character_sets'"
returns NULL whereby
"SELECT * FROM `information_schema`.`character_sets`"
returns the correct list
- change the test query to the latter syntax
- if the retrieving of possible encodings fails return an array of the hard-coded list with dictionaries containing the keys for name AND description
-- [this fix solves i400 due to the fact that the chosen encoding title from the popup list must be of the format: "description (name)"; otherwise the following regexp returns (null) because it's looking for the content of parentheses]
Diffstat (limited to 'Resources')
0 files changed, 0 insertions, 0 deletions