mirror of
https://github.com/MariaDB/server.git
synced 2026-05-12 10:00:09 +02:00
5.6.31
This commit is contained in:
parent
f1aae861ee
commit
720e04ff67
146 changed files with 1536 additions and 1481 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/*****************************************************************************
|
||||
|
||||
Copyright (c) 1994, 2012, Oracle and/or its affiliates. All Rights Reserved.
|
||||
Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU General Public License as published by the Free Software
|
||||
|
|
@ -56,7 +56,8 @@ dfield_set_type(
|
|||
dfield_t* field, /*!< in: SQL data field */
|
||||
const dtype_t* type) /*!< in: pointer to data type struct */
|
||||
{
|
||||
ut_ad(field && type);
|
||||
ut_ad(field != NULL);
|
||||
ut_ad(type != NULL);
|
||||
|
||||
field->type = *type;
|
||||
}
|
||||
|
|
@ -194,7 +195,8 @@ dfield_copy_data(
|
|||
dfield_t* field1, /*!< out: field to copy to */
|
||||
const dfield_t* field2) /*!< in: field to copy from */
|
||||
{
|
||||
ut_ad(field1 && field2);
|
||||
ut_ad(field1 != NULL);
|
||||
ut_ad(field2 != NULL);
|
||||
|
||||
field1->data = field2->data;
|
||||
field1->len = field2->len;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue