Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I grepped the source code of MySQL 5.5.28 (Community Server Edition) to find instances of STRICT_ALL_TABLES being used.</p> <p>From what I saw, it looks like your list is already pretty complete, but below are a few more things I learned about the use of STRICT_ALL_TABLES. The first one is another validation, while the rest all deal with errors and warnings.</p> <ul> <li>Geometry columns can't have a default value. <strong>(sql/field.cc:9394)</strong></li> <li>If a table comment is longer than 2048 characters, MySQL produces an error rather than truncating the comment with a warning. <strong>(sql/unireg.cc:231)</strong></li> <li>If a field comment is longer than 1024 characters, MySQL produces an error rather than truncating the comment with a warning. <strong>(sql/unireg.cc:739)</strong></li> <li>On an insert or update, if a duplicate value exists in a SET or ENUM MySQL produces an error rather than a warning. <strong>(sql/sql_table.cc:2503)</strong></li> <li>There are a bunch of operations that will abort on warning with STRICT_ALL_TABLES rather than proceeding with just a warning. These are too numerous for me to list, and the setting of the abort_on_warning flag is too far removed from the code that creates the warnings for me to easily document (or even understand) all of them. But if anybody wants to get their hands dirty in the source code, a few places to start would be <strong>sql/sql_update.cc:630</strong> and <strong>sql/sql_insert.cc:841</strong></li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload