The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
database concurrency
#1
Hi Dan,
Thinking in a multi-user environment is possible create some mechanism for when I do update any line of my database, I can re-read the line of my database, before my update, and see if had changes any data since my last read?

Something like a incremental column that always that happening some update this value will be incremented. And then always before any update the system will read again and compare this control (incremental column) with my last control before update and if they are different then I know that had any changes and I abort my operation. Do you understood?

Sorry for my english, because I think in Portuguese when I write in English, really sorry.

Hugs
  Reply


Messages In This Thread
database concurrency - by marceloatmartins - 06-20-2017, 11:36 AM
database concurrency - by mudmin - 06-20-2017, 11:55 AM
database concurrency - by marceloatmartins - 06-20-2017, 12:53 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)