Skip to content

Commit 8748555

Browse files
committed
Fix search with latest mariadb/mysql
1 parent d7fbae6 commit 8748555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generator.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ public class Valadoc.IndexGenerator : Valadoc.ValadocOrgDoclet {
756756
php.printf ("\t$res = mysqli_query($mysqli, \"SHOW TABLES\");\n");
757757
php.printf ("\t$pkgs = array();\n");
758758
php.printf ("\twhile ($row = $res->fetch_assoc()) {\n");
759-
php.printf ("\t\t$pkgs[] = $row['Index'];\n");
759+
php.printf ("\t\t$pkgs[] = $row['Table'];\n");
760760
php.printf ("\t}\n");
761761
php.printf ("\t$res->close ();\n");
762762
php.printf ("\t$allpkgs = implode(', ', $pkgs);\n\n");

0 commit comments

Comments
 (0)