diff options
author | avenjamin <avenjamin@gmail.com> | 2008-09-25 16:56:18 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2008-09-25 16:56:18 +0000 |
commit | a2b5b64a367e9630b87014c8bba5ab431cd2c3b9 (patch) | |
tree | faed6e5dd55caae087e6e6f9d12bb3b8b55226a7 | |
parent | dda455a0fa2ce35369de62e09ea00211b118d409 (diff) | |
download | sequelpro-a2b5b64a367e9630b87014c8bba5ab431cd2c3b9.tar.gz sequelpro-a2b5b64a367e9630b87014c8bba5ab431cd2c3b9.tar.bz2 sequelpro-a2b5b64a367e9630b87014c8bba5ab431cd2c3b9.zip |
Fixed issue #54 - "Export translates decimal values as hexadecimal"
-rw-r--r-- | CMMCPResult.m | 1 | ||||
-rw-r--r-- | MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CMMCPResult.m b/CMMCPResult.m index 77e679ba..ff5c6c88 100644 --- a/CMMCPResult.m +++ b/CMMCPResult.m @@ -87,6 +87,7 @@ modified version for use with sequel-pro case FIELD_TYPE_DECIMAL: case FIELD_TYPE_FLOAT: case FIELD_TYPE_DOUBLE: + case FIELD_TYPE_NEW_DECIMAL: theCurrentObj = [self stringWithCString:theData]; break; case FIELD_TYPE_TIMESTAMP: diff --git a/MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h b/MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h index 56c7f7d2..6f941fc0 100644 --- a/MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h +++ b/MCPKit_bundled.framework/Versions/A/Headers/mysql_com.h @@ -191,6 +191,7 @@ enum enum_field_types { MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY, MYSQL_TYPE_DATE, MYSQL_TYPE_TIME, MYSQL_TYPE_DATETIME, MYSQL_TYPE_YEAR, MYSQL_TYPE_NEWDATE, + MYSQL_TYPE_NEW_DECIMAL=246, MYSQL_TYPE_ENUM=247, MYSQL_TYPE_SET=248, MYSQL_TYPE_TINY_BLOB=249, @@ -220,6 +221,7 @@ enum enum_field_types { MYSQL_TYPE_DECIMAL, MYSQL_TYPE_TINY, #define FIELD_TYPE_DATETIME MYSQL_TYPE_DATETIME #define FIELD_TYPE_YEAR MYSQL_TYPE_YEAR #define FIELD_TYPE_NEWDATE MYSQL_TYPE_NEWDATE +#define FIELD_TYPE_NEW_DECIMAL MYSQL_TYPE_NEW_DECIMAL #define FIELD_TYPE_ENUM MYSQL_TYPE_ENUM #define FIELD_TYPE_SET MYSQL_TYPE_SET #define FIELD_TYPE_TINY_BLOB MYSQL_TYPE_TINY_BLOB |