From:             [EMAIL PROTECTED]
Operating system: Win2000
PHP version:      4.2.3
PHP Bug Type:     MySQL related
Bug description:  duplicate statements in SQL

This is what happens now with version 2.3.2 when I try to create a new
table with 2 fields "foo" and "baz" on an existing database. I also get
duplicates in other situations but this one speaks for itself?

Error
SQL-query :
  
CREATE TABLE `test` (

`foo` TINYINT NOT NULL ,
`baz` VARCHAR NOT NULL ,
`foo` TINYINT NOT NULL ,
`baz` VARCHAR NOT NULL 
) 

MySQL said: 
You have an error in your SQL syntax. 

Well, I can understand why there's an error.
Has anyone got the same problem?
-- 
Edit bug report at http://bugs.php.net/?id=19995&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19995&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19995&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19995&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19995&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19995&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19995&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19995&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19995&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19995&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19995&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19995&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19995&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=19995&r=isapi

Reply via email to