support of BINARY and VARBINARY field types
This commit is contained in:
@@ -155,6 +155,11 @@ function PMA_DBI_postConnect($link) {
|
||||
PMA_DBI_query('SET collation_connection = \'' . $collation_connection . '\';', $link, PMA_DBI_QUERY_STORE);
|
||||
}
|
||||
$collation_connection = PMA_DBI_get_variable('collation_connection', PMA_DBI_GETVAR_SESSION, $link);
|
||||
|
||||
// Add some field types to the list
|
||||
$GLOBALS['cfg']['ColumnTypes'][] = 'BINARY';
|
||||
$GLOBALS['cfg']['ColumnTypes'][] = 'VARBINARY';
|
||||
|
||||
} else {
|
||||
require_once('./libraries/charset_conversion.lib.php');
|
||||
}
|
||||
|
@@ -461,6 +461,7 @@ $PMA_SQPdata_reserved_word_cnt = 261;
|
||||
|
||||
$PMA_SQPdata_column_type = array (
|
||||
'BIGINT',
|
||||
'BINARY',
|
||||
'BIT',
|
||||
'BLOB',
|
||||
'BOOL',
|
||||
@@ -505,6 +506,6 @@ $PMA_SQPdata_column_type = array (
|
||||
'YEAR'
|
||||
);
|
||||
//$PMA_SQPdata_column_type_cnt = count($PMA_SQPdata_column_type);
|
||||
$PMA_SQPdata_column_type_cnt = 43;
|
||||
$PMA_SQPdata_column_type_cnt = 44;
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user