boinc/db
David Anderson 7a00aa4976 web: changes to support MySQL strict mode
In "strict mode", inserts fail if they don't supply values
for columns with no default defined in the schema
(in non-strict mode, 0 and '' are implicit defaults).
Starting with MySQL version 5.6, strict mode is the default.
This breaks some of the BOINC web code,
which does inserts without giving values to some columns.

There are two ways to solve this:

1) change the schema to give defaults everywhere
2) change the PHP code to supply values for more columns.

I'm using 1) in some cases and 2) in others.
This commit fixes some of the errors; there are others.
2015-04-16 00:01:06 -07:00
..
Makefile.am Server: various fixes for "make install" 2013-08-24 20:36:49 -07:00
boinc_db.cpp validator: add --wu_id N option for debugging single WU 2015-04-03 20:00:13 -07:00
boinc_db.h server/web: add support for per-application credit 2014-08-15 14:01:32 -07:00
boinc_db_types.h server/web: add support for per-application credit 2014-08-15 14:01:32 -07:00
bolt_constraints.sql
bolt_schema.sql
bossa_constraints.sql
bossa_schema.sql
constraints.sql web: add badge stuff to db_update script 2013-12-22 20:53:10 -08:00
db_base.cpp db_dump: include badges in XML stats export 2014-05-18 19:19:05 -07:00
db_base.h sample work generator: wait until transitioner has processed jobs before creating any more 2013-12-14 16:36:18 -08:00
init_db
schema.sql web: changes to support MySQL strict mode 2015-04-16 00:01:06 -07:00
schema_condor.sql Condor: debug set_expire_time RPC 2013-09-17 23:14:57 -07:00
schema_locality.sql - GUI RPC: more replacement of std::string 2010-03-13 04:40:37 +00:00
schema_vda.sql - file upload handler: add an #ifdef for disabling locking of files 2012-08-15 21:27:38 +00:00