From:             [EMAIL PROTECTED]
Operating system: RedHat 8
PHP version:      4.2.2
PHP Bug Type:     *General Issues
Bug description:  Duplication when creating a new Table

I'm Not to sure if this is a problem with phpMyAdmin or if this is php
problem
Running 
php-4.2.2-8.0.5 
httpd-2.0.40-8
mysql-3.23.52-3
RedHat 8

php configure line reads
./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu'
'--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr'
'--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc'
'--enable-force-cgi-redirect' '--disable-debug' '--enable-pic'
'--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3'
'--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin'
'--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd'
'--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext'
'--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr'
'--with-openssl' '--with-png' '--with-pspell' '--with-regex=system'
'--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU'
'--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm' '--enable-discard-path' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8'
'--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl'
'--with-kerberos=/usr/kerberos' '--with-ldap=shared'
'--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared'
'--enable-memory-limit' '--enable-bcmath' '--enable-shmop'
'--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio'
'--enable-mcal' '--with-apxs2=/usr/sbin/apxs'


Which is standard install with RH 8

and as soon as try to create a new table with phpMyAdmin 2.3.0

This is the SQL it tries to run. NOTE it duplicates on line 5,6,7
1 CREATE TABLE `wt_test` ( 

2 `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
3 `name` VARCHAR( 50 ) ,
4 `what` VARCHAR( 50 ) ,
5 `id` INT NOT NULL AUTO_INCREMENT,
6 `name` VARCHAR( 50 ) ,
7 `what` VARCHAR( 50 ) 
8 ) 

and all i wanted was line 1,2,3
Regards
Marcus
-- 
Edit bug report at http://bugs.php.net/?id=21509&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21509&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21509&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21509&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21509&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21509&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21509&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21509&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21509&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21509&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21509&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21509&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21509&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21509&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21509&r=gnused

Reply via email to