Topic: Making replace faster on some databases
author: Jorma Tuomainen
created: 06-07-2002 11:25:02 PM
|
Least MySQL has REPLACE query so I think replace() should use that... it's simple to do that with if's but if many other db's do use it, it would be good choice to move replace into drivers/*.
--wizactive
"Pain in the ass since 1982" |
|
Topic: Re:Making replace faster on some databases
author: John Lim
created: 07-07-2002 03:19:43 AM
|
The algorithm of adodb's replace uses UPDATE/INSERT which differs from mysql's DELETE/INSERT so we will never use mysql's version to maintain backward compat. |
|
|