Commit Graph

4 Commits

Author SHA1 Message Date
Tim Almdal
d1f181da08 Attempt to reduce the chance of replacing text in sql statements that
is not a table name (but contained in braces) with the database prefix
by building and maintaining a cache of database tables and prefixes.
2009-03-12 03:20:13 +00:00
Tim Almdal
c04ff8e02f Change the pattern to identify tables that need prefix substitution to
mirror the drupal pattern of using braces {}.
2009-02-28 06:37:28 +00:00
Tim Almdal
ab973bd871 Replace the string [table_name] with {$prefix}table_name. Slowly
working through setting up the database access to support table
prefixes. (Ticket#68)

Before going ahead, just wanted to check this approach... whatcha think?
2009-02-27 03:25:29 +00:00
Bharat Mediratta
cd6629ad23 Add support for parenthetical grouping to Database queries. Turns out
that this is something they kind of want for Kohana :-)

Upstream ticket for this change: http://dev.kohanaphp.com/ticket/1070
2009-01-23 08:07:37 +00:00