php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21509 Duplication when creating a new Table
Submitted: 2003-01-08 00:49 UTC Modified: 2003-01-08 00:58 UTC
From: marcus at rtt dot co dot za Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.2.2 OS: RedHat 8
Private report: No CVE-ID: None
 [2003-01-08 00:49 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-08 00:58 UTC] 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-02-20 09:42 UTC] nvainio+phpnet at iki dot fi
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 18:01:28 2024 UTC