summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2012-02-26 00:12:02 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2013-06-13 01:06:19 +0200
commitbb885e9db4127439e120a1556aea27de2f6b6c76 (patch)
tree0d29cc8fbf442db0d65e3ce2bffd353c26fd4a81 /database
parent3611dd8cce29874aca2b54819d49ba61e2f426f3 (diff)
downloadeurephia-bb885e9db4127439e120a1556aea27de2f6b6c76.tar.gz
eurephia-bb885e9db4127439e120a1556aea27de2f6b6c76.tar.xz
eurephia-bb885e9db4127439e120a1556aea27de2f6b6c76.zip
edb-pgsql: ePGprepLoadStatements() was missing a break in the switch/case statment
Without this break, this function would return an error that the web or console admin interface were invalid. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'database')
-rw-r--r--database/postgresql/prepared-sql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/postgresql/prepared-sql.c b/database/postgresql/prepared-sql.c
index 1353038..d617078 100644
--- a/database/postgresql/prepared-sql.c
+++ b/database/postgresql/prepared-sql.c
@@ -554,6 +554,7 @@ int ePGprepLoadStatements(eurephiaCTX *ctx)
case ECTX_ADMIN_CONSOLE:
case ECTX_ADMIN_WEB:
ret = _ePGprepDoStatementLoad(ctx, _ePGprepStatementsAdmin);
+ break;
default:
eurephia_log(ctx, LOG_FATAL, 0, "ePGprepLoadStatements: Invalid context type");