#21509 [Com]: Duplication when creating a new Table
| From: | nvainio+phpnet at iki dot fi | Date: | Thu, 20 Feb 2003 15:42:29 +0000 |
| Subject: | #21509 [Com]: Duplication when creating a new Table | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33743@lists.php.net to get a copy of this message | ||
ID: 21509
Comment by: nvainio+phpnet at iki dot fi
Reported By: marcus at rtt dot co dot za
Status: Bogus
Bug Type: *General Issues
Operating System: RedHat 8
PHP Version: 4.2.2
New Comment:
phpMyAdmin people think this is a problem with PHP. See:
http://sourceforge.net/forum/message.php?msg_id=1607618
http://sourceforge.net/forum/message.php?msg_id=1825641
Previous Comments:
------------------------------------------------------------------------
[2003-01-08 00:58:41] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Not a problem with PHP, report to the phpMyAdmin guys.
Derick
------------------------------------------------------------------------
[2003-01-08 00:49:58] marcus at rtt dot co dot za
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 this bug report at http://bugs.php.net/?id=21509&edit=1