support of BINARY and VARBINARY field types

This commit is contained in:
Marc Delisle
2004-08-28 14:14:14 +00:00
parent a16d97912f
commit c5b3b01641
5 changed files with 31 additions and 5 deletions

View File

@@ -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');
}