@@ -18,6 +18,7 @@ $HeadURL$
|
|||||||
- bug #1674972 no export with %afm%
|
- bug #1674972 no export with %afm%
|
||||||
- bug #1664212 querywindow loses url encoded characters
|
- bug #1664212 querywindow loses url encoded characters
|
||||||
- bug #1682044 Export file even if file not selected
|
- bug #1682044 Export file even if file not selected
|
||||||
|
- bug #1672789 Undefined offset: 4 in sqlparser.lib.php #1674
|
||||||
- [gui] avoid displaying a wide selector in server selection
|
- [gui] avoid displaying a wide selector in server selection
|
||||||
+ [core] added PMA_fatalError() and made use of it
|
+ [core] added PMA_fatalError() and made use of it
|
||||||
. [i18n] use generic $strOptions
|
. [i18n] use generic $strOptions
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* vim: expandtab sw=4 ts=4 sts=4: */
|
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||||
/** SQL Parser Functions for phpMyAdmin
|
/** SQL Parser Functions for phpMyAdmin
|
||||||
*
|
*
|
||||||
* Copyright 2002 Robin Johnson <robbat2@users.sourceforge.net>
|
* Copyright 2002 Robin Johnson <robbat2@users.sourceforge.net>
|
||||||
@@ -1732,7 +1732,7 @@ if ( ! defined( 'PMA_MINIMUM_COMMON' ) ) {
|
|||||||
// ON UPDATE CURRENT_TIMESTAMP
|
// ON UPDATE CURRENT_TIMESTAMP
|
||||||
|
|
||||||
if ($upper_data == 'ON') {
|
if ($upper_data == 'ON') {
|
||||||
if ($arr[$i+1]['type'] == 'alpha_reservedWord') {
|
if (isset($arr[$i+1]) && $arr[$i+1]['type'] == 'alpha_reservedWord') {
|
||||||
$second_upper_data = strtoupper($arr[$i+1]['data']);
|
$second_upper_data = strtoupper($arr[$i+1]['data']);
|
||||||
if ($second_upper_data == 'DELETE') {
|
if ($second_upper_data == 'DELETE') {
|
||||||
$clause = 'on_delete';
|
$clause = 'on_delete';
|
||||||
|
Reference in New Issue
Block a user