PMA_DBI_num_rows is not needed and does not work with MYSQL_USE_RESULT (bug #952162).
This commit is contained in:
@@ -12,6 +12,8 @@ $Source$
|
|||||||
* lang/dutch: Update thanks to Ivo Teel - calimonk.
|
* lang/dutch: Update thanks to Ivo Teel - calimonk.
|
||||||
* lang/german-utf-8: Remove duplicated string.
|
* lang/german-utf-8: Remove duplicated string.
|
||||||
* lang/*: Remove allow_recoding from non utf-8 translations.
|
* lang/*: Remove allow_recoding from non utf-8 translations.
|
||||||
|
* tbl_properties.inc.php, tbl_properties_operations.php: PMA_DBI_num_rows
|
||||||
|
is not needed and does not work with MYSQL_USE_RESULT (bug #952162).
|
||||||
|
|
||||||
2004-05-26 Alexander M. Turek <me@derrabus.de>
|
2004-05-26 Alexander M. Turek <me@derrabus.de>
|
||||||
* translators.html: Linked to Indonesian translator's SF page instead of
|
* translators.html: Linked to Indonesian translator's SF page instead of
|
||||||
|
@@ -541,7 +541,7 @@ if ($action == 'tbl_create.php') {
|
|||||||
if ($action == 'tbl_create.php') {
|
if ($action == 'tbl_create.php') {
|
||||||
// find mysql capability - staybyte - 11. June 2001
|
// find mysql capability - staybyte - 11. June 2001
|
||||||
$result = PMA_DBI_try_query('SHOW VARIABLES LIKE \'have_%\';');
|
$result = PMA_DBI_try_query('SHOW VARIABLES LIKE \'have_%\';');
|
||||||
if ($result != FALSE && PMA_DBI_num_rows($result) > 0) {
|
if ($result) {
|
||||||
while ($tmp = PMA_DBI_fetch_assoc($result)) {
|
while ($tmp = PMA_DBI_fetch_assoc($result)) {
|
||||||
if (isset($tmp['Variable_name'])) {
|
if (isset($tmp['Variable_name'])) {
|
||||||
switch ($tmp['Variable_name']) {
|
switch ($tmp['Variable_name']) {
|
||||||
|
@@ -383,7 +383,7 @@ if ($cfgRelation['relwork'] && $tbl_type != "INNODB") {
|
|||||||
<?php
|
<?php
|
||||||
// modify robbat2 code - staybyte - 11. June 2001
|
// modify robbat2 code - staybyte - 11. June 2001
|
||||||
$result = PMA_DBI_query('SHOW VARIABLES LIKE \'have_%\';');
|
$result = PMA_DBI_query('SHOW VARIABLES LIKE \'have_%\';');
|
||||||
if ($result != FALSE && PMA_DBI_num_rows($result) > 0) {
|
if ($result) {
|
||||||
while ($tmp = PMA_DBI_fetch_assoc($result)) {
|
while ($tmp = PMA_DBI_fetch_assoc($result)) {
|
||||||
if (isset($tmp['Variable_name'])) {
|
if (isset($tmp['Variable_name'])) {
|
||||||
switch ($tmp['Variable_name']) {
|
switch ($tmp['Variable_name']) {
|
||||||
|
Reference in New Issue
Block a user