From 87624ea8ea17ccc457bcc0ed5ed071e7518cceff Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tim.dijen@minbzk.nl> Date: Thu, 3 Oct 2019 15:48:31 +0200 Subject: [PATCH] Spacing --- lib/SimpleSAML/Store/SQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Store/SQL.php b/lib/SimpleSAML/Store/SQL.php index 5816ea21a..284b2b614 100644 --- a/lib/SimpleSAML/Store/SQL.php +++ b/lib/SimpleSAML/Store/SQL.php @@ -152,7 +152,7 @@ class SQL extends Store // FOR MSSQL use EXEC sp_rename to rename a table (RENAME won't work) $this->driver === 'sqlsrv' ? 'EXEC sp_rename ' . $this->prefix . '_kvstore_new, ' . $this->prefix . '_kvstore' : - 'ALTER TABLE '. $this->prefix . '_kvstore_new RENAME TO ' . $this->prefix . '_kvstore' , + 'ALTER TABLE ' . $this->prefix . '_kvstore_new RENAME TO ' . $this->prefix . '_kvstore', $this->driver === 'sqlite' || $this->driver === 'sqlsrv' ? 'CREATE INDEX ' . $this->prefix . '_kvstore_expire ON ' . $this->prefix . '_kvstore (_expire)' : 'ALTER TABLE ' . $this->prefix . '_kvstore ADD INDEX ' . $this->prefix . '_kvstore_expire (_expire)' -- GitLab