check_validity_m
Description:
If mstruct
is not null, then checks that all the database objects referenced in the statement i
actually referenced in mstruct
(for example the table being updated in a UPDATE statement must exist in the connection's database
for the check to succeed).
This method sets the this->validity_meta_struct attribute to mstruct
.
If mstruct
is null, then remove any information from a previous call to this method stored in
this. In this case, the this->validity_meta_struct attribute is
cleared.
Also note that some parts of this may be modified: for example leading and trailing spaces in aliases or objects names will be removed.
Parameters:
this |
a SqlStatement pointer |
mstruct |
a MetaStruct object, or null |
Returns:
TRUE if no error occurred |