ptomblin wrote:
OverlordQ wrote:
Small site, speed a must, use SQLite, then MySQL, otherwise use PostgreSQL
Does SQLite do transactions? How about subqueries?
MySQL is the least ANSI-SQL compliant Database in the marketplace. MySQL isn't even
ACID, so you can't say MySQL 'supports' transactions.
On mysql do this for example:
Code:
create table T (a int, b int);
insert into T values(1, 2);
update T set a=b, b=a;
What is the result? Well, on most REAL database the values whould be swapped: A=2, B=1.
On MySQL unfortunately the result is: A=2, B=2.