#19995 [NEW]: duplicate statements in SQL
| From: | blueblower0 at hotmail dot com | Date: | Sat, 19 Oct 2002 20:47:27 +0000 |
| Subject: | #19995 [NEW]: duplicate statements in SQL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-22861@lists.php.net to get a copy of this message | ||
From: blueblower0@hotmail.com
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