Ruben S. Montero
85cba737f4
M #-: Minor refactor of exit clause
2019-11-19 23:36:08 +01:00
Ruben S. Montero
2c3f907d6c
B #3946 : Check database and table encodings. This may break dump -> mysql upgrade (change default encoding) -> restore
2019-11-19 23:21:37 +01:00
Ruben S. Montero
8fb20107e2
B #3946 : Optionally forced encoding for oned connections
2019-11-19 16:10:26 +01:00
Ruben S. Montero
8834d29c67
B #3946 : Set encoding for the db connections to that used by the opennebula database
2019-11-19 14:52:12 +01:00
Ruben S. Montero
7a4a83cefd
development: revert SqlDB protorype to int error codes
2019-02-13 13:00:20 +01:00
Ruben S. Montero
4829adc738
development: SQL errors because of duplicated keys are considered
...
applied for RAFT replications. This log entries may be added in the log
because of a race condition between writing threads (i.e. two threads
creating a user with the same name). Adds new error interface for SqlDB.
2019-02-13 10:43:06 +01:00
Christian González
b2aab50f95
F #2671 Fix version bug and migrator for search option ( #2869 )
2019-01-31 17:09:47 +01:00
Vlastimil Holer
441cf1f7f9
Bump version to 5.7.85, year to 2019
2019-01-16 11:47:59 +01:00
Ruben S. Montero
43aeed9dbb
Log slow MySQL queries, threshold set to 0.5s
2018-08-07 23:35:15 +02:00
Ruben S. Montero
3961b401a9
B #2144 : Fix affected rows for Sqlite
2018-06-11 17:20:40 +02:00
juanmont
c08d7e5d47
F #1927 Check if sqlite has been compiled to use LIMIT with DELETE and UPDATE
2018-04-25 17:05:30 +02:00
Ruben S. Montero
9b96c8fd3c
F #1927 : Extend Sql interface, free results of MySQL query.
...
(cherry picked from commit f502d17923a12f1f4df59e5ae100802ab6d5ba9c)
2018-04-23 12:54:27 +02:00
juanmont
dfa535441e
F #1927 :
...
- Added the possibility to know how many rows have been affected
- Added new Attribute to specify the limit for the purge
(cherry picked from commit b5700eb6d1 )
2018-04-23 12:54:26 +02:00
Ruben S. Montero
37222d65dc
F #1792 : Greatly improve concurrency by: Remove big lock on pool control class. Increase number of MySQL connections (new configuration variable). Make all parser reentrants. This commit also simplifies the pool references.
...
(cherry picked from commit a3d3ceb771034794c4fb453dcd9aaff64c53baed)
2018-03-17 23:35:21 +01:00
Vlastimil Holer
a4c0447ccf
Bump year to 2018 ( #1623 )
2018-01-02 18:27:37 +01:00
Jaime Melis
822602ca45
MySQL exec now returns the status of the callback
2017-07-07 17:29:03 +02:00
Javi Fontan
8de979e42c
Bump version 5.3.80
2017-05-25 16:07:35 +02:00
Javi Fontan
e1f6dee180
Update copyright notice year
2016-05-04 12:33:23 +02:00
Jaime Melis
e20fb5c4c4
Fix copyright in banners
2015-09-23 16:51:10 +02:00
Carlos Martín
3da52fe163
Bug #3630 : Showback uses a transaction for sqlite backends
2015-02-24 15:34:11 +01:00
Jaime Melis
8d00b74177
Change year to 2015
2015-02-24 12:27:59 +01:00
Jaime Melis
11520021f7
Bump to version 4.5.0
2014-01-09 11:51:20 +01:00
Carlos Martín
a9bccd4423
Feature #1683 : Simplify bootstrap methods
2013-10-08 15:14:12 +02:00
Robert Schweikert
2054836301
Feature #1683 : create a way to initialize without service start + This allows a mode to just initialize the database + Changes the decision making about DB bootstrapping such that a missing DB no longer produces misleading messages in the log file + Allows the DB to be initialized/bootstrapped during an automated install process without having to wait for some arbitrary time to kill the daemon - return the SQL error code from the DB::exec method + This allows to make decisions about DB bootstrapping earlier and avoids misleading messages in the log file
2013-10-08 15:14:00 +02:00
Ruben S. Montero
59bbb3b156
feature #2245 : Allow multiple MySQL connections
2013-09-11 12:38:58 +02:00
Jaime Melis
7357bffe34
Update copyright notice
2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c
Update year to 2013
2013-01-24 16:03:57 +01:00
Jaime Melis
a2b7cb6bc9
Bump to version 3.2.0
2012-01-12 12:29:18 +01:00
Carlos Martín
b7febc83da
Bug #408 : Better MySQL bootstrap, and fix vm_template tests
2011-05-06 18:53:31 +02:00
Carlos Martín
27977b913d
Bug #408 : reconnect to MySQL server when connection fails
2011-05-06 17:06:57 +02:00
Ruben S. Montero
5dc7b686ad
Fix compilation warnings with gcc4.6
2011-04-22 01:06:01 +02:00
Jaime Melis
4980255942
Update copyright year to 2011
2011-02-25 14:34:44 +01:00
Ruben S. Montero
289e0610c7
feature #457 : Changed types in MySQL constructor
2010-12-27 00:01:03 +01:00
Ruben S. Montero
7d4dbdf10e
feature #377:Minor cosmetic changes
2010-11-12 23:40:27 +01:00
Carlos Martín
33e01f53b1
Feature #377 : MySQL port is now defined in oned.conf
2010-11-11 11:38:16 +01:00
Ruben S. Montero
a8905b2704
feature #206 : OpenNebula can now be compiled with several DB backends
2010-05-07 14:45:27 +02:00