only since MySQL 5.0.0

This commit is contained in:
Marc Delisle
2006-06-15 16:34:31 +00:00
parent 6a76f4c544
commit 652c57a9d7
2 changed files with 9 additions and 4 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - ChangeLog
$Id$
$Source$
2006-06-15 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sql_query_form.lib.php: Delimiter only if MySQL supports it
2006-06-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sql_query_form.lib.php, libraries/import/sql.php, lang/*:
bug # 1469699, can't create a stored procedure

View File

@@ -354,10 +354,12 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow = false)
}
echo '</div>' . "\n";
echo '<div class="formelement">' . "\n";
echo '<label for="id_sql_delimiter">[ ' . $GLOBALS['strDelimiter']
.'</label>' . "\n";
echo '<input type="text" name="sql_delimiter" size="3" value=";" '
.'id="id_sql_delimiter" /> ]' . "\n";
if (PMA_MYSQL_INT_VERSION >= 50000) {
echo '<label for="id_sql_delimiter">[ ' . $GLOBALS['strDelimiter']
.'</label>' . "\n";
echo '<input type="text" name="sql_delimiter" size="3" value=";" '
.'id="id_sql_delimiter" /> ]' . "\n";
}
echo '<input type="checkbox" name="show_query" value="1" '
.'id="checkbox_show_query" checked="checked" />' . "\n"