We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5aded27 commit 79390aeCopy full SHA for 79390ae
1 file changed
tools/integration_tests/tokenserver/test_support.py
@@ -178,7 +178,7 @@ def _last_insert_id(self):
178
if self.engine.name == "sqlite":
179
cursor = self._execute_sql("SELECT LAST_INSERT_ROWID() AS id", {})
180
else:
181
- cursor = self._execute_sql("SELECT LAST_INSERT_ID()", {})
+ cursor = self._execute_sql("SELECT LAST_INSERT_ID() AS id", {})
182
(id,) = cursor.fetchone()
183
cursor.close()
184
self.database.commit()
0 commit comments