An amusing MySQL weakness--not!

Поиск
Список
Период
Сортировка
От Michael Nolan
Тема An amusing MySQL weakness--not!
Дата
Msg-id BANLkTikAj1YO7Vzz5wYpLt5PvodbSwF6nw@mail.gmail.com
обсуждение исходный текст
Ответы Re: An amusing MySQL weakness--not!
Re: An amusing MySQL weakness--not!
Re: An amusing MySQL weakness--not!
Список pgsql-general
Earlier today I was working on a MySQL database (not by choice, I assure you),
and I typed a statement like this:

Update tablexyz set field1 = '15' where field2 - 20;

The '-' was supposed to be an equal sign, but MySQL executed it anyway.  (Field2 is an integer.)

I was not amused.

PostgreSQL reports this as an error, of course.
--
Mike Nolan
nolan@tssi.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Nigel Heron
Дата:
Сообщение: Re: blks_read/blks_hit stats
Следующее
От: merlyn@stonehenge.com (Randal L. Schwartz)
Дата:
Сообщение: Re: An amusing MySQL weakness--not!