NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 158 159 160 161 162 … 433 Next »
NextPVR DataBase

NextPVR DataBase
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#1
2015-10-27, 04:46 AM
Hi All,

Is the NextPVR Database set to auto commit?
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2015-10-27, 05:00 AM
Depends on the code. If the SQL is wrapped in BEGIN/END TRANS, then it commits on the END, otherwise it commits on each add/update/delete call.
http://sqlite.1065341.n5.nabble.com/what...47923.html
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#3
2015-10-27, 05:05 AM
My understanding is the SQLite OLEDB provider follows the normal rules for OLEDB providers transaction scope. ie, it'll be explicitly commit after each insert/update, except those that are in a multi-statement transaction, in which case it'll commit when the transaction is explicitly committed.
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#4
2015-10-27, 07:08 AM
JavaWiz Wrote:Depends on the code. If the SQL is wrapped in BEGIN/END TRANS, then it commits on the END, otherwise it commits on each add/update/delete call.
http://sqlite.1065341.n5.nabble.com/what...47923.html

sub Wrote:My understanding is the SQLite OLEDB provider follows the normal rules for OLEDB providers transaction scope. ie, it'll be explicitly commit after each insert/update, except those that are in a multi-statement transaction, in which case it'll commit when the transaction is explicitly committed.

Thank you.

I was hoping that was the case. Big Grin I kept on getting an error code of "1" when I did a commit.
The Code .....
stepRC = oosqlFinalize(stmt);

sqlStatement = 'commit;'
stepRC = oosqlPrepare(dbConn, sqlStatement, 'stmt')

stepRC = oosqlStep(stmt)

logfile~lineout('(Season_Eps) - Commit return code = '||stepRC)
Regards,
Mark

(Remember not to forget that which you don' t need to know.)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR - EPG Setup - XML/XMLTV EPG - Zap2it & Zap2xml Erdrick 126 143,128 2024-01-29, 01:07 AM
Last Post: stoenjes44
  NextPVR VOD through Kodi unmich 2 1,374 2023-06-18, 03:54 AM
Last Post: sub
  Can NextPVR switch graphics mode to best match content ? madbrain 2 2,265 2021-09-25, 02:25 AM
Last Post: madbrain
  NextPVR and Remote viewing MaxiBelas 2 1,762 2021-09-07, 05:29 PM
Last Post: sub
  Help with NextPVR evinahmad86 1 1,500 2021-07-23, 07:01 PM
Last Post: sub
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 1,656 2021-03-05, 01:38 PM
Last Post: mvallevand
  NextPVR hangs when tuning to offline channel? CormacBaptiste 2 2,024 2021-02-03, 01:29 PM
Last Post: Graham
  NextPVR V4 Web Issue meccano 3 1,980 2021-01-30, 04:20 AM
Last Post: meccano
  TV very choppy after downgrade from Nextpvr v5 riverboat2001 18 5,132 2021-01-26, 01:51 PM
Last Post: mvallevand
  Configure NextPVR Server Pliedes 1 1,884 2020-10-07, 04:59 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode