mysqli and field list in query box
This commit is contained in:
12
ChangeLog
12
ChangeLog
@@ -6,13 +6,17 @@ $Id$
|
|||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
2004-08-08 Marc Delisle <lem9@users.sourceforge.net>
|
2004-08-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/relation.lib.php: bug 1005414, undefined offset when
|
* libraries/relation.lib.php:
|
||||||
no display field has been defined; bug 1004546, sort error in dropdown
|
bug 1005414, undefined offset when no display field has been defined;
|
||||||
list of foreign values; incorrect result was freed
|
bug 1004546, sort error in dropdown list of foreign values;
|
||||||
|
incorrect result was freed
|
||||||
* libraries/relation.lib.php: use natural order sort according to config
|
* libraries/relation.lib.php: use natural order sort according to config
|
||||||
* db_details_structure.php, pdf_pages.php, pdf_schema.php: make it work
|
* db_details_structure.php, pdf_pages.php, pdf_schema.php: make it work
|
||||||
with mysqli extension
|
with mysqli extension
|
||||||
### 2.6.0-rc1 released
|
* scripts/upgrade_tables_mysql_4_1_2+.sql: new script to upgrade pmadb
|
||||||
|
on MySQL 4.1.2
|
||||||
|
* libraries/bookmark.lib.php: bug (mysqli)
|
||||||
|
* tbl_query_box.php: field list does not show (mysqli)
|
||||||
|
|
||||||
2004-08-08 Michal Čihař <michal@cihar.com>
|
2004-08-08 Michal Čihař <michal@cihar.com>
|
||||||
* calendar.php: Include correct stylesheet (bug #1005421).
|
* calendar.php: Include correct stylesheet (bug #1005421).
|
||||||
|
@@ -37,7 +37,7 @@ $fields_cnt = 0;
|
|||||||
if (isset($db) && isset($table) && $table != '' && $db != '') {
|
if (isset($db) && isset($table) && $table != '' && $db != '') {
|
||||||
// we do a try_query here, because we could be in the query window,
|
// we do a try_query here, because we could be in the query window,
|
||||||
// trying to synchonize and the table has not yet been created
|
// trying to synchonize and the table has not yet been created
|
||||||
$result = PMA_DBI_try_query('SHOW FIELDS FROM ' . PMA_backquote($table) . ' FROM ' . PMA_backquote($db) . ';');
|
$result = PMA_DBI_try_query('SHOW FIELDS FROM ' . PMA_backquote($table) . ' FROM ' . PMA_backquote($db) . ';', NULL, PMA_DBI_QUERY_STORE);
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$fields_cnt = PMA_DBI_num_rows($result);
|
$fields_cnt = PMA_DBI_num_rows($result);
|
||||||
while ($row = PMA_DBI_fetch_assoc($result)) {
|
while ($row = PMA_DBI_fetch_assoc($result)) {
|
||||||
|
Reference in New Issue
Block a user