Find file
Fetching contributors…
Cannot retrieve contributors at this time
4 lines (4 sloc) 202 Bytes
-define(DROP_TABLES(PoolId), begin
ShowTables = emysql:execute(PoolId, "SHOW TABLES"),
[emysql:execute(PoolId, <<"DROP TABLE `", Table/binary, "`">>) || [Table] <- ShowTables#result_packet.rows]
end).