d962a322ea9e641b8891b771452b22f929c893bf
This change fixes the Protobuf->MySQL bridge for strings, which were corrupted in rare cases, especially with debug builds of the DatabaseCampaign. String columns in result tables from any campaign up to this point may contain corrupted data. The core reason for the corruption was that the TypeBridge_string bound a temporary (a nameless local variable) to the prepared statement. This temporary is destroyed before the subsequent call to mysql_stmt_bind_param(), and the string within can only be referenced successfully if it has not been overwritten yet. The solution is to copy the string to a bridge-internal variable. Although it might seem that TypeBridge_enum has the same problem, the protobuf library seems to return references to internal string constants when retrieving the enum values. Change-Id: Id127e6b3333d7c304d688e45de9bea44bbc610b0
This is an import of the old danceos svn repository. The Fail* development started with rev 187, but this git import only contains revisions 956 and newer due to directory structure changes. Imported from external gitsvn checkout. http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html
Description
Languages
C++
45%
C
36.8%
Python
8.2%
Shell
1.7%
Makefile
1.6%
Other
6.2%