cannot copy a table structure with MySQL 4.1.x
This commit is contained in:
@@ -17,6 +17,7 @@ $Source$
|
|||||||
on MySQL 4.1.2
|
on MySQL 4.1.2
|
||||||
* libraries/bookmark.lib.php: bug (mysqli)
|
* libraries/bookmark.lib.php: bug (mysqli)
|
||||||
* tbl_query_box.php: field list does not show (mysqli)
|
* tbl_query_box.php: field list does not show (mysqli)
|
||||||
|
* libraries/sqlparser.lib.php: cannot copy a table structure (MySQL 4.1.x)
|
||||||
|
|
||||||
2004-08-08 Michal Čihař <michal@cihar.com>
|
2004-08-08 Michal Čihař <michal@cihar.com>
|
||||||
* calendar.php: Include correct stylesheet (bug #1005421).
|
* calendar.php: Include correct stylesheet (bug #1005421).
|
||||||
|
@@ -1772,7 +1772,6 @@ if ($is_minimum_common == FALSE) {
|
|||||||
|
|
||||||
switch ($typearr[2]) {
|
switch ($typearr[2]) {
|
||||||
case 'white_newline':
|
case 'white_newline':
|
||||||
// $after = '<br />';
|
|
||||||
$before = '';
|
$before = '';
|
||||||
break;
|
break;
|
||||||
case 'punct_bracket_open_round':
|
case 'punct_bracket_open_round':
|
||||||
@@ -1864,7 +1863,8 @@ if ($is_minimum_common == FALSE) {
|
|||||||
case 'alpha_columnAttrib':
|
case 'alpha_columnAttrib':
|
||||||
|
|
||||||
// ALTER TABLE tbl_name AUTO_INCREMENT = 1
|
// ALTER TABLE tbl_name AUTO_INCREMENT = 1
|
||||||
if ($typearr[1] == 'alpha_identifier') {
|
// COLLATE LATIN1_GENERAL_CI DEFAULT
|
||||||
|
if ($typearr[1] == 'alpha_identifier' || $typearr[1] == 'alpha_charset') {
|
||||||
$before .= ' ';
|
$before .= ' ';
|
||||||
}
|
}
|
||||||
if (($typearr[3] == 'alpha_columnAttrib') || ($typearr[3] == 'quote_single') || ($typearr[3] == 'digit_integer')) {
|
if (($typearr[3] == 'alpha_columnAttrib') || ($typearr[3] == 'quote_single') || ($typearr[3] == 'digit_integer')) {
|
||||||
|
Reference in New Issue
Block a user