Null Reference for "getInsertRecordFunc"
I would have grabbed your repo and sent a pull request but i saw your having trouble merging it in. So i figured i would just write the fix here since it is super simple.
Line: 584 File: SqliteStorage.js
Currently: me.getInsertRecordFunc(record, tablename)(); Fix: me.getInsertRecordFunc(record, tablename)(tx);
Need to pass the transaction into the function. Works like a charm now :)
Many thanks Ross, I'm adding a commit in now. Really need to work out how to deal with these pull requests!
On 23/05/2012 00:29, Ross Gerbasi wrote:
I would have grabbed your repo and sent a pull request but i saw your having trouble merging it in. So i figured i would just write the fix here since it is super simple.
Line: 584 File: SqliteStorage.js
Currently: me.getInsertRecordFunc(record, tablename)(); Fix: me.getInsertRecordFunc(record, tablename)(tx);
Need to pass the transaction into the function. Works like a charm now :)
Reply to this email directly or view it on GitHub: https://github.com/shepsii/SQLite-Proxy-ST2/issues/2