* sql.php3:
        - Fix warning and error from mysql_free_result($cna_all_result);
This commit is contained in:
Robin Johnson
2002-06-22 19:37:16 +00:00
parent 9172958f7c
commit 2846270415
2 changed files with 8 additions and 3 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-06-22 Robin Johnson <robbat2@users.sourceforge.net>
* sql.php3:
- Fix warning and error from mysql_free_result($cna_all_result);
2002-06-21 Olivier L. M<>ller <om@omnis.ch> 2002-06-21 Olivier L. M<>ller <om@omnis.ch>
* libraries/common.lib.php3, main.php3: be more tolerant with lazy * libraries/common.lib.php3, main.php3: be more tolerant with lazy
sysadmins or users by letting them having an empty sysadmins or users by letting them having an empty
@@ -13,7 +18,7 @@ $Source$
2002-06-21 Robin Johnson <robbat2@users.sourceforge.net> 2002-06-21 Robin Johnson <robbat2@users.sourceforge.net>
* lang/english*: $strSplitWordsWithSpace * lang/english*: $strSplitWordsWithSpace
- 'splitted' changed to 'seperated' - 'splitted' changed to 'seperated'
* lang/portuguese.inc.php3 updates, thanks to Lopo Pizarro * lang/portuguese.inc.php3 updates, thanks to Lopo Pizarro
* lang/polish.inc.php3 updates, thanks to Jakub Wilk * lang/polish.inc.php3 updates, thanks to Jakub Wilk
* db_details_links.php3, header.inc.php3, * db_details_links.php3, header.inc.php3,

View File

@@ -342,9 +342,9 @@ else {
$unlim_num_rows = @mysql_num_rows($cnt_all_result); $unlim_num_rows = @mysql_num_rows($cnt_all_result);
} else { } else {
$unlim_num_rows = mysql_result($cnt_all_result, 0, 'count'); $unlim_num_rows = mysql_result($cnt_all_result, 0, 'count');
}
} }
mysql_free_result($cna_all_result); @mysql_free_result($cna_all_result);
}
} else { } else {
$unlim_num_rows = 0; $unlim_num_rows = 0;
} }