From 1f377bea6fa02af99847cd79ea23ff4a7c534686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Fri, 31 Aug 2001 18:25:04 +0000 Subject: [PATCH] fixed some warnings if MySQL < 3.23.03 --- tbl_properties.php3 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tbl_properties.php3 b/tbl_properties.php3 index 2aaf80805..187db0c32 100755 --- a/tbl_properties.php3 +++ b/tbl_properties.php3 @@ -141,6 +141,10 @@ if (MYSQL_INT_VERSION >= 32303) { $show_comment = ''; } } +// MySQL < 3.23.03 +else { + $showtable = array(); +} // 2. Get table keys and retains them $local_query = 'SHOW KEYS FROM ' . backquote($table); @@ -340,7 +344,7 @@ if ($index_count > 0) { = 32303 && $nonisam == FALSE && isset($showtable)) { @@ -983,11 +987,13 @@ else { // MySQL < 3.23 // BDB ?> -
  • +
  • +
     :    +