samiux
Joined: 19 Jul 2006
Posts: 3
|
| Posted: Wed Jul 19, 2006 1:37 am Post subject: Create table error |
|
|
When I add a group to the program, it produces the following error message :
Quote: Failed to create table out_Cash-Daily
Debug info: CREATE TABLE out_Cash-Daily ( id int(10) unsigned NOT NULL auto_increment, date date NOT NULL default '0000-00-00', data varchar(25) NOT NULL default '', type varchar(25) NOT NULL default '', note TEXT NOT NULL default '', PRIMARY KEY (id) ) TYPE=MyISAM
Later, I use "Cash_Daily" instead of "Cash-Daily", it works perfectly.
Is it a bug? |
|
Vlad Alexa Mancini
Joined: 07 Jul 2003
Posts: 303
|
| Posted: Sun Jul 30, 2006 5:07 pm Post subject: |
|
|
| somewhat yes , more exactly a design error , the string should be quoted in the query , thanks for the report |
|