From d484ab3880e6acbd86c3c609a6e5dcd00dd25346 Mon Sep 17 00:00:00 2001 From: oof1lab Date: Fri, 3 Nov 2017 19:49:10 +0000 Subject: [PATCH] Fix : remove not required columns from query. See https://github.com/o1lab/xmysql/issues/9 --- lib/util/data.helper.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/util/data.helper.js b/lib/util/data.helper.js index 85e0b2208b..254ccce498 100644 --- a/lib/util/data.helper.js +++ b/lib/util/data.helper.js @@ -38,8 +38,6 @@ exports.findObjectInArrayByKey = (key, value, objArray) => { exports.getSchemaQuery = function () { return 'select c.table_name, c.column_name, c.ordinal_position,c.column_key,c.is_nullable, c.data_type, c.column_type,c.extra,c.privileges, ' + 'c.column_comment,c.column_default,c.data_type,c.character_maximum_length, ' + - 'c.character_octet_length,c.numeric_precision,c.numeric_scale,c.datetime_precision,c.character_set_name, ' + - 'c.collation_name, ' + 'k.constraint_name, k.referenced_table_name, k.referenced_column_name, ' + 's.index_name,s.seq_in_index ' + 'from ' +