phpLens
 home  products examples manual  faq support forum  contact news  login store

Forums: phplens   adodb
Forums:   This forum is no longer in use - ADOdb dev:   Replies 
New ReplySearch
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.
Page 1
New ReplySearch

View Source

email: contact#phplens.com (change # to @)     telephone (malaysia): 60-3-7947 2888     fax (malaysia): 60-3-7947 2800