Welcome Guest, Not a member yet? Register   Sign In
ActiveRecord & oci8 driver adding double quotes to table names and fields

I've just noticed that using ActiveRecord and the oci8 driver, writing this piece of code
produces the statement
SELECT * FROM "mytable"
, that fails miserably when executed.

This happens because the
variable at line 49 of oci8_driver.php equals

Setting it to an empty string solves the problem; but is this really a possibile solution, or can it be done differently without having to patch the driver?

i have the same problem~~ :exclaim:

This really needs to be documented more clearly or mentioned in the tutorial, maybe as a footnote. Thank you Andre for posting the solution.

Please feel free to add it to the documentation on Github and issue a pull request. That's the best chance for additions or improvements to CI.

Theme © iAndrew 2016 - Forum software by © MyBB