SQLite-Proxy-ST2 icon indicating copy to clipboard operation
SQLite-Proxy-ST2 copied to clipboard

Null Reference for "getInsertRecordFunc"

Open aphex opened this issue 13 years ago • 1 comments

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 :)

aphex avatar May 22 '12 23:05 aphex

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

shepsii avatar May 23 '12 05:05 shepsii