Commit Graph

9 Commits

Author SHA1 Message Date
0169d42681 Fix #180: Add support for CockroachDB (PostgreSQL protocol)
Add '40001' (serialization_failure) to the list of ignored SQL states in
drv_pgsql.c. The error appears to be specific to CockroachDB, but
restarting the current transaction is the only reasonable way to handle
it.
2017-11-14 11:30:12 +03:00
cdc450a258 Fix a comment typo. 2017-01-30 17:24:56 +03:00
1363264c61 Handle more cases where drv_pgsql.c may leak memory. 2017-01-30 16:04:39 +03:00
55aca14d92 Add a missing PQclear() call in pgsql_drv_bind_param(). 2017-01-30 15:22:21 +03:00
ca0da79d82 Call PQclear() for non-SELECT queries explicitly in drv_pgsql.c. 2017-01-30 15:13:05 +03:00
7c43653e4f Fix memory leaks in drv_pgsql.c. 2017-01-30 13:35:00 +03:00
1cf5b33eda Move counters code from db_driver.c to sb_counter.c. 2017-01-29 13:45:26 +03:00
74d14e764c Signal an error on unknown error codes in drv_pgsql.c. 2017-01-27 21:00:06 +03:00
06d4f99cb6 Rename the 'sysbench' subdirectory to 'src'. 2017-01-27 09:39:28 +03:00