Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit c6bc3cb

Browse files
committed
Improve TODO comment
1 parent abdd93e commit c6bc3cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

wp-includes/sqlite-ast/class-wp-sqlite-driver.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,10 @@ private function execute_mysql_query( WP_Parser_Node $node ): void {
729729
case 'createDatabase':
730730
/*
731731
* TODO:
732-
* This should probably be a no-op, in combination with
732+
* We could support this by creating a new SQLite database
733+
* file (e.g., $slugified_db_name.sqlite).
734+
*
735+
* Alternatively, it could be a no-op, in combination with
733736
* DROP DATABASE deleting the data file and recreating it.
734737
*/
735738
case 'createTable':

0 commit comments

Comments
 (0)