ttgive / qeephp

Automatically exported from code.google.com/p/qeephp
0 stars 0 forks source link

为不同的数据库实现优化的 QDB_Table::replace() #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
mysql 有 REPLACE 语句,而其他数据库没有。

现在 QDB_Tabel::replace() 采用先查询再更新或创建的模式,对于 
mysql 或其他有
REPLACE 语句的数据库来说产生了多余的性能损耗。

因此为不同的数据库实现优化的 QDB_Table::replace()。

Original issue reported on code.google.com by dualf...@gmail.com on 3 May 2008 at 10:07