I'm attempting to use DBI with SQLite and am seeing an error:

Can't call method "execute" on an undefined value at (eval 8) line 939.

Looking at line 939 (in autoload/dbext_dbi.vim

I've tried a few variations of this config
let g:dbext_default_profile_sqlite =
     \   'type=DBI'
     \ . ':driver=SQLite'
     \ . ':dbname=db.sq3'
let g:dbext_default_profile = 'sqlite'

I've used a similar config for DBD::CSV which works fines.

I've tested with a simple perl connection with the same connection string 
(driver=SQLite:dbname=db.sq3) which works.

Looking at the help, I see examples for mysql, oracle etc, but not for SQLite.

Has SQLite through the DBI driver been tested?
If so, am I missing something in the connection string?

Thanks :-)

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to