Roland Bouman wrote:
Hi!
On Fri, Dec 19, 2008 at 9:53 PM, Jay Pipes <[email protected]> wrote:
My idea is to completely scrap all of this type of stuff and simply throw
errors when bad data is encountered.
Sure - but note that you cannot simply change all warnings into
errors....MySQL sometimes throws a warning even when there is nothing
the matter:
Database changed
mysql> create table if not exists `I do *NOT* exist`(
-> `really, i d` int
-> );
Query OK, 0 rows affected (0.19 sec)
mysql> create table if not exists `I do *NOT* exist`(
-> `really, i d` int
-> );
Query OK, 0 rows affected, 1 warning (0.00 sec)
Note (Code 1050): Table 'i do *not* exist' already exists
Sure, but in the case above, is the warning useful at all? By putting
IF NOT EXISTS aren't you essentially saying "don't error if it exists"
and therefore we would one care about the warning that is emitted?
-jay
What are your thoughts? Should Drizzle have a "warning" mode?
Not sure yet....reading up on it.
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp