bug #1610314, incomplete detection of binary columns

This commit is contained in:
Marc Delisle
2006-12-12 17:45:11 +00:00
parent 7117f46357
commit b1b505f285
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ $HeadURL$
2006-12-12 Marc Delisle <lem9@users.sourceforge.net>
* libraries/Table.class.php: problem changing a TIMESTAMP to DEFAULT 0
* tbl_change.php: bug #1610314, incomplete detection of binary column
2006-12-11 Michal Čihař <michal@cihar.com>
* lang/czech: Updated.

View File

@@ -426,7 +426,7 @@ foreach ($loop_array AS $vrowcount => $vrow) {
<?php
// The type column
$is_binary = stristr($row_table_def['Type'], ' binary');
$is_binary = stristr($row_table_def['Type'], 'binary');
$is_blob = stristr($row_table_def['Type'], 'blob');
$is_char = stristr($row_table_def['Type'], 'char');
switch ($row_table_def['True_Type']) {