A UNIQUE constraint is returned as an index when getTableIndexes is called.
Then it is passed to dumpTableIndexes, dumpIndex and getIndex.
The last function does a SQL query to fetch the index data, but the query returns null, which leads to a NULL; statement being print in the dump.
A
UNIQUE
constraint is returned as an index whengetTableIndexes
is called. Then it is passed todumpTableIndexes
,dumpIndex
andgetIndex
. The last function does a SQL query to fetch the index data, but the query returnsnull
, which leads to aNULL;
statement being print in the dump.