replace dataLength instead of adding length property

This commit is contained in:
Partap Davis 2015-03-07 20:09:10 -07:00
parent 1ee0c2f3bb
commit 0964a2634a
1 changed files with 2 additions and 4 deletions

View File

@ -144,8 +144,7 @@ function mixinDiscovery(MySQL) {
sql = paginateSQL('SELECT table_schema AS "owner",' +
' table_name AS "tableName", column_name AS "columnName",' +
' data_type AS "dataType",' +
' character_maximum_length AS "length",' +
' character_octet_length AS "dataLength",' +
' character_maximum_length AS "dataLength",' +
' numeric_precision AS "dataPrecision",' +
' numeric_scale AS "dataScale",' +
' is_nullable = \'YES\' AS "nullable"' +
@ -157,8 +156,7 @@ function mixinDiscovery(MySQL) {
sql = paginateSQL('SELECT table_schema AS "owner",' +
' table_name AS "tableName", column_name AS "columnName",' +
' data_type AS "dataType",' +
' character_maximum_length AS "length",' +
' character_octet_length AS "dataLength",' +
' character_maximum_length AS "dataLength",' +
' numeric_precision AS "dataPrecision",' +
' numeric_scale AS "dataScale",' +
' is_nullable = \'YES\' AS "nullable"' +