diff options
author | unknown <monty@mysql.com> | 2004-02-10 12:03:08 +0100 |
---|---|---|
committer | unknown <monty@mysql.com> | 2004-02-10 12:03:08 +0100 |
commit | 30d52f53d1ca4614726b79f3c582de8c7e6ce67b (patch) | |
tree | bdbe84927684ec56045577391850a226d3598a91 /sql/handler.h | |
parent | e2646f092e0e077dc5ad5440159767eeee2136d1 (diff) | |
download | mariadb-git-30d52f53d1ca4614726b79f3c582de8c7e6ce67b.tar.gz |
Code cleanups
client/mysqlbinlog.cc:
Ensure that errors are returned to upper levels instead of just doing 'exit/die' in sub function.
sql/handler.h:
Indentation cleanup
sql/sql_insert.cc:
Indentation cleanup
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/handler.h b/sql/handler.h index 750db45759e..ead0ed106c7 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -319,8 +319,9 @@ public: virtual void append_create_info(String *packet) {} virtual char* get_foreign_key_create_info() { return(NULL);} /* gets foreign key create string from InnoDB */ - virtual uint referenced_by_foreign_key() { return 0;} /* used in REPLACE; - is > 0 if table is referred by a FOREIGN KEY */ + + /* used in REPLACE; is > 0 if table is referred by a FOREIGN KEY */ + virtual uint referenced_by_foreign_key() { return 0;} virtual void init_table_handle_for_HANDLER() { return; } /* prepare InnoDB for HANDLER */ virtual void free_foreign_key_create_info(char* str) {} |