A warning is created when your create table statement runs. If the table is created no warning will be generated, if it already exists it will fire a warning. Check that after the query with:
SHOW WARNINGS;
Or you can use the following:
select @@warning_count;
See here for full info http://dev.mysql.com/doc/refman/5.7/en/show-warnings.html