mysqldump bug ?

2002-03-04 Thread gregus, peter
Hello, I'm using mysql-max 3.23.49 binary distribution. I use mysqldump utility to dump tables from my DB. for example: mysqldump --opt -u root -p EFDB users > users.sql users.sql file contains: -- -- MySQL dump 8.21 -- -- Host: localhostDatabase:

Re: mysqldump bug during regenerate enum field.

2001-06-19 Thread Guillaume Fougnies
Thank you! It seems to be hard to be understood on this mailling list ;-) Le Tue, Jun 19, 2001 at 10:17:35AM -0500, Pete Harlan a écrit: > It would seem that there is a bug, and it's that "create table" > accepts an 'illegal' definition. It should either convert the integer > to a literal (makin

Re: mysqldump bug during regenerate enum field.

2001-06-19 Thread Pete Harlan
It would seem that there is a bug, and it's that "create table" accepts an 'illegal' definition. It should either convert the integer to a literal (making the definition legal and dumpable), or it should barf on it. IMO, of course. --Pete [Charset iso-8859-1 unsupported, filtering to ASCII...

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread Guillaume Fougnies
But my problem is perhaps simply in the concept: When MySQL accept a create table in entry (as bad as it is like this one from a guy in my team), mysqldump should regenerate from this table a create table statement accepted by MySQL too. no? it's not logic? ;-) Regards, Le Mon, Jun 18, 2001

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread John Cichy
Sinisa, A good way to prove that mysqldump is doing what it should, might be to do a describe TESTBADDUMP; I think this will prove that mysqldump is just dumping what is in the table def, which is all you can expect. Have a great day... John On Monday 18 June 2001 09:46, Sinisa Milivojevic w

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread Sinisa Milivojevic
Guillaume Fougnies writes: > > ok so it's a failure from mysqldump. > > I know this declaration is not really correct but mysqldump must regenerate a >correct sql statement (good when pipe in mysql client i mean at least ;) ). > It's not the case. > > Regards, > -- > Guillaume FOUGNIES > Resea

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread Andrew Schmidt
nator is trying to show. That mysqldump is generating an invalid statement. thanks, -- Andrew - Original Message - From: "Thomas Karcher" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 18, 2001 9:08 AM Subject: Re: mysqldump bug during regenerate

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread Guillaume Fougnies
Le Mon, Jun 18, 2001 at 04:04:52PM +0300, Sinisa Milivojevic a écrit: > [EMAIL PROTECTED] writes: > > mysqldump regenerates a bad sql statement from a bad initial create table. > > > > When you create this table for example (ok it's not a really nice definition): > > > > CREATE TABLE TESTBADDUMP

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread John Cichy
Try quoting (' ') the 0 in your create: CREATE TABLE TESTBADDUMP ( e_test enum('0','1') NOT NULL default '0' ); -^ You should then get the result you want. Have a great day... John On Monday 18 June 2001 08:54, [EMAIL PROTECTED] wrote: > mysqldump r

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread Thomas Karcher
Hi, > mysqldump regenerates a bad sql statement from a bad initial create table. > > When you create this table for example (ok it's not a really nice definition): > > CREATE TABLE TESTBADDUMP ( > e_test enum('0','1') NOT NULL default 0 > ); > > desc TESTBADDUMP; > +---

Re: mysqldump bug during regenerate enum field.

2001-06-18 Thread Sinisa Milivojevic
[EMAIL PROTECTED] writes: > mysqldump regenerates a bad sql statement from a bad initial create table. > > When you create this table for example (ok it's not a really nice definition): > > CREATE TABLE TESTBADDUMP ( > e_test enum('0','1') NOT NULL default 0 > ); > > desc

mysqldump bug during regenerate enum field.

2001-06-18 Thread gfougnies
mysqldump regenerates a bad sql statement from a bad initial create table. When you create this table for example (ok it's not a really nice definition): CREATE TABLE TESTBADDUMP ( e_test enum('0','1') NOT NULL default 0 ); desc TESTBADDUMP; ++---+---

mysqldump bug?

2001-03-16 Thread Huy Nguyen
Hi all, I don't know if this is a bug in mysqldump but it behaves in a strange way. I tried to use mysqldump to dump out the data and structure of a small database in order to populate another database but not all records are dumped. I tried to flush the tables from mysql server using FLUSH TAB