Menu

#4892 (ok 4.4.6) Undefined variable: unique_conditions

4.4.5
fixed
None
Normal
2015-05-07
2015-05-07
No

Following warning was seen while running an 'Explain' query.

Notice in .\libraries\DisplayResults.class.php#3012
Undefined variable: unique_conditions

Backtrace

.\libraries\DisplayResults.class.php#2708: PMA_DisplayResults->_getRowValues(
object,
array,
integer 0,
boolean false,
array,
string '',
boolean false,
string '.id = 1 AND .select_type = \'SIMPLE\' AND .table = \'countrylanguage\' AND .type = \'ALL\' AND .possible_keys IS NULL AND .key IS NULL AND .key_len IS NULL AND .ref IS NULL AND .rows = 984 AND .Extra IS NULL',
string 'EXPLAIN SELECT * FROM countrylanguage',
array,
)
.\libraries\DisplayResults.class.php#4265: PMA_DisplayResults->_getTableBody(
object,
array,
array,
array,
boolean false,
)
.\libraries\sql.lib.php#1769: PMA_DisplayResults->getTable(
object,
array,
array,
)
.\libraries\sql.lib.php#2049: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean false,
integer 1,
integer 1,
NULL,
object,
array,
)
.\libraries\sql.lib.php#2245: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'world',
string 'countrylanguage',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 1,
integer 1,
string 'EXPLAIN SELECT * FROM countrylanguage',
NULL,
NULL,
NULL,
NULL,
NULL,
string 'EXPLAIN SELECT * FROM countrylanguage',
NULL,
)
.\import.php#725: PMA_executeQueryAndGetQueryResponse(
array,
boolean false,
string 'world',
string 'countrylanguage',
NULL,
string 'EXPLAIN SELECT * FROM countrylanguage',
NULL,
boolean false,
NULL,
NULL,
NULL,
string 'tbl_structure.php',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'EXPLAIN SELECT * FROM countrylanguage',
NULL,
NULL,
)

Discussion

  • Madhura Jayaratne

    • summary: Undefined variable: unique_conditions --> (ok 4.4.6) Undefined variable: unique_conditions
    • status: open --> resolved
     
  • Marc Delisle

    Marc Delisle - 2015-05-07
    • Status: resolved --> fixed
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.