LP and other fixes. -- LP 1414074. Added 'cleanup obsolete volatile tables' command -- Added support for 'get all volatile tables' command -- LP 1411864. Alter Sequence now correctly returns an error if value specified exceeds the max value -- LP 1413743. Error indicating sequence number max is reached is now being returned instead of a numeric overflow error ff max largeint value is reached while generating sequence numbers. -- LP 1418685. Partition information is now being set up correctly for delimited salted tables. -- changed copyright message
More fixes to make SQL thread safe Fix for bug 1403334 – T2 multithread tests core dump in SQLCLI_DropContext
NAMemory was not threadsafe in derived memory management. The calls registerMemory, unRegisterMemory was not threadSafe when the heap is marked as threadsafe heap. Also, the mutex is now dropped as part of NAHeap destructor.
Fix for bug 1403410 - With 128 threads thru T2 driver, MTTrans and YCSB tests crash and generate this core
The context list was being manipulated without acquiring a mutex in some places These obsolete codes are now removed.
Some of the globals were wrongly declared as thread globals.
Other Fixes SQL_EXEC_GetDiagnosticsCondInfo2 CLI call is now protected by mutexes like any other CLI call. Also removed some of the obsolete codes in the cli layer.
Currently commented out the code to close all the open cursors in all the contexts when a change in transaction id is detected. We need to detect the change in transaction at context level and close cursors belonging to that context only.