diff options
author | tailor <dag@janrain.com> | 2008-05-20 19:06:22 +0000 |
---|---|---|
committer | tailor <dag@janrain.com> | 2008-05-20 19:06:22 +0000 |
commit | 2d0799ac7f507c5592c8dc8a7715b2064989c9d1 (patch) | |
tree | 2e272bdc2625dd35757251e1c03134119da6d72c /Auth/OpenID/MySQLStore.php | |
parent | 9caae991d3d3e43d12c3ca94aa8c175263176ff6 (diff) | |
download | php-openid-2d0799ac7f507c5592c8dc8a7715b2064989c9d1.zip php-openid-2d0799ac7f507c5592c8dc8a7715b2064989c9d1.tar.gz php-openid-2d0799ac7f507c5592c8dc8a7715b2064989c9d1.tar.bz2 |
[project @ Use ENGINE=InnoDB instead of TYPE=InnoDB, which is deprecated in current versions of MySQL]
Diffstat (limited to 'Auth/OpenID/MySQLStore.php')
-rw-r--r-- | Auth/OpenID/MySQLStore.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/OpenID/MySQLStore.php b/Auth/OpenID/MySQLStore.php index f8dc9ae..e87773d 100644 --- a/Auth/OpenID/MySQLStore.php +++ b/Auth/OpenID/MySQLStore.php @@ -28,7 +28,7 @@ class Auth_OpenID_MySQLStore extends Auth_OpenID_SQLStore { " timestamp INTEGER,\n". " salt CHAR(40),\n". " UNIQUE (server_url(255), timestamp, salt)\n". - ") TYPE=InnoDB"; + ") ENGINE=InnoDB"; $this->sql['assoc_table'] = "CREATE TABLE %s (\n". @@ -39,7 +39,7 @@ class Auth_OpenID_MySQLStore extends Auth_OpenID_SQLStore { " lifetime INTEGER,\n". " assoc_type VARCHAR(64),\n". " PRIMARY KEY (server_url(255), handle)\n". - ") TYPE=InnoDB"; + ") ENGINE=InnoDB"; $this->sql['set_assoc'] = "REPLACE INTO %s VALUES (?, ?, !, ?, ?, ?)"; |