Merge pull request #79 from partap/discovery-string-length

Query string length for schema in characters in addition to bytes
This commit is contained in:
Raymond Feng 2015-03-09 15:55:24 -07:00
commit fbe9ee078d
1 changed files with 2 additions and 2 deletions

View File

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