[Phpmyadmin-devel] problem with PMA_DBI_fetch_value()
Sebastian Mendel
lists at sebastianmendel.de
Mon Sep 26 07:36:27 CEST 2005
Marc Delisle wrote:
> Hi,
>
> since this patch:
>
> http://cvs.sourceforge.net/viewcvs.py/phpmyadmin/phpMyAdmin/tbl_properties_structure.php?r1=2.40&r2=2.41
>
>
> if (PMA_MYSQL_INT_VERSION >= 40102) {
> $show_create_table = PMA_DBI_fetch_value(
> 'SHOW CREATE TABLE ' . PMA_backquote($db) . '.' .
> PMA_backquote($table),
> 0, 1 );
> $analyzed_sql = PMA_SQP_analyze( PMA_SQP_parse( $show_create_table ) );
> }
>
> we have a problem using the mysqli extension. Clicking on a table name
> from the left panel generates:
>
> Notice: Undefined index: len in libraries/sqlparser.lib.php on line 697
ok, i found the error (check for num_rows on unbuffered query ..., i
really really really hate the @ operator!!!! )
i will fix this ...
--
Sebastian Mendel
www.sebastianmendel.de
www.sf.net/projects/phpdatetime | www.sf.net/projects/phptimesheet
More information about the Developers
mailing list