Edit report at http://bugs.php.net/bug.php?id=51300&edit=1

 ID:               51300
 User updated by:  tanguy dot pruvot at gmail dot com
 Reported by:      tanguy dot pruvot at gmail dot com
 Summary:          SELECT * CRASH With LibMySQL > 5.0.51
 Status:           Bogus
 Type:             Bug
 Package:          PDO related
 Operating System: Windows 7
 PHP Version:      5.2.13

 New Comment:

The new field of structure is :



  void *extension;



at the end of the record... That should not change anymore...



typedef struct st_mysql_field {

  char *name;                 /* Name of column */

  char *org_name;             /* Original column name, if an alias */

  char *table;                /* Table of column if column was a field
*/

  char *org_table;            /* Org table name, if table was an alias
*/

  char *db;                   /* Database for table */

  char *catalog;              /* Catalog for table */

  char *def;                  /* Default value (set by
mysql_list_fields) */

  unsigned long length;       /* Width of column (create length) */

  unsigned long max_length;   /* Max width for selected set */

  unsigned int name_length;

  unsigned int org_name_length;

  unsigned int table_length;

  unsigned int org_table_length;

  unsigned int db_length;

  unsigned int catalog_length;

  unsigned int def_length;

  unsigned int flags;         /* Div flags */

  unsigned int decimals;      /* Number of decimals in field */

  unsigned int charsetnr;     /* Character set */

  enum enum_field_types type; /* Type of field. See mysql_com.h for
types */

  void *extension;

} MYSQL_FIELD;


Previous Comments:
------------------------------------------------------------------------
[2010-03-15 12:35:48] tanguy dot pruvot at gmail dot com

Oh... I dont publish the self-compiled PHP version, i only use the
source tree to 

compile the shared modules i need...

------------------------------------------------------------------------
[2010-03-15 12:30:55] paj...@php.net

Why do you compile PHP yourself is what I meant, it should be necessary
and would make your users life easier if you do not.

------------------------------------------------------------------------
[2010-03-15 12:21:19] tanguy dot pruvot at gmail dot com

like i said eaccelerator need to be recompiled on every php release... i
htate 

to wait for a module to upgrade php...



xdebug doesnt have this problem... like my php4delphi module which is
"working" 

since 5.2.0 ... and i've problem to upgrade it to the 7.2 (Delphi 2010)
version 

which is less delphi-vcl dependant...



I want to make a php interface to my FastCGI WDScript .. To permit
interface to 

the WLangage Native DB Drivers in a php script without json, to output
PHP code 

or directly create php variables :)



I think i will make it with visual studio this time... i've now the
knowledge 

and the tool suites to do that...

------------------------------------------------------------------------
[2010-03-15 12:06:29] paj...@php.net

Last but not least: Why do you compile it yourself? That should not be
necessary.

------------------------------------------------------------------------
[2010-03-15 12:01:57] tanguy dot pruvot at gmail dot com

i fixed sqlitemanager (1.2.0) sources .... and all the ereg(i/replace) 

functions.... and some other things herited from PHP 4 ;), dont
remember...



I think 0.9.6 of eaccelerator is now ok (the rc version was not), the
0.9.6 works 

fine with 5.2.12 and 13 but need to be recompiled on every php minor
version... 

this version is also smaller than before... some units were removed...

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=51300


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=51300&edit=1

Reply via email to