12
12
You should have received a copy of the GNU General Public License
13
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
14
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
16
16
/* Functions to check if a row is unique */
19
19
#include "drizzled/charset_info.h"
21
bool mi_check_unique(MI_INFO *info, MI_UNIQUEDEF *def, unsigned char *record,
30
25
MI_KEYDEF *key= &info->s->keyinfo[def->key];
31
26
unsigned char *key_buff=info->lastkey2;