mumble/src
Luke A Pitt 7560db024d Use UPSERT for PostgreSQL, REPLACE INTO for other databases.
Used place holder marks for PostgreSQL UPSERT values instead of positional binding since the statements require the values twice (once for the INSERT, and once for the UPDATE should the insert fail).
The values to use for the ON CONFLICT DO UPDATE part of the UPSERT have been prefixed with u_ .

This commit reverts to using REPLACE INTO for non-PostgreSQL databases and uses the same code for them as the upstream master mumble-voip/mumble.
Previously this branch used the same code for all databases. This commit uses if statements to treat PostgreSQL differently from other databases where it needs to use UPSERT instead of REPLACE INTO.
2016-08-30 22:42:58 +01:00
..
mumble Fix UT99 plugin license in 3rdPartyLicenses. 2016-08-29 23:20:50 +02:00
mumble_exe src/mumble_exe: update to use LICENSE.header. 2016-05-10 22:42:03 +02:00
mumble_proto mumble_proto: update to use LICENSE.header. 2016-05-10 22:42:03 +02:00
murmur Use UPSERT for PostgreSQL, REPLACE INTO for other databases. 2016-08-30 22:42:58 +01:00
murmur_grpcwrapper_protoc_plugin build: add pkgconfig.pri and must_pkgconfig qmake function. 2016-07-09 18:24:09 +02:00
tests Convert all remaining uses of LIBPATH in qmake files to use QMAKE_LIBDIR instead. 2016-07-05 23:07:27 +02:00
ACL.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
ACL.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Channel.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Channel.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Connection.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Connection.h Add mutex for csCrypt usage in Murmur. 2016-06-24 00:03:11 +02:00
CryptState.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
CryptState.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Group.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Group.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
HTMLFilter.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
HTMLFilter.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Message.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
mumble.pri build: add pkgconfig.pri and must_pkgconfig qmake function. 2016-07-09 18:24:09 +02:00
Mumble.proto src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Net.cpp Net: use QLatin1String instead of implicit char * -> QString conversion in Ban::toString(). 2016-05-19 01:04:55 +02:00
Net.h Add logging for ban removals/changes. 2016-05-19 00:31:42 +02:00
OSInfo.cpp OSInfo: fix implicit size_t conversion. 2016-08-24 23:52:04 +02:00
OSInfo.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
PacketDataStream.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Qt4Compat.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
SignalCurry.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
SSL.cpp MumbleSSL: add a sanity check for QSsl loading a different version of OpenSSL than we're linked against. 2016-05-22 01:52:40 +02:00
SSL.h MumbleSSL: add a sanity check for QSsl loading a different version of OpenSSL than we're linked against. 2016-05-22 01:52:40 +02:00
SSLCipherInfo.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
SSLCipherInfo.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
SSLCipherInfoTable.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Timer.cpp Timer: use header-only boost::chrono if it is available. 2016-07-02 12:16:23 +02:00
Timer.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
User.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
User.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Version.cpp src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00
Version.h src: update to use LICENSE.header. 2016-05-10 22:42:02 +02:00