real escape string plus some words and InnoDB func

- Use of real_escape_string function plus some reserverd words substitution.
- Use of begin, commit and rollback functions.
     * the __shutdown_check() routine  is called when the script bombs
     *  which is able to invoke the rollback().