~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/pars0pars.h

Merge initial InnoDB+ import.

This was applied by generating a patch between MySQL 5.1.50 InnoDB plugin and
the just-merged innodb+ from mysql-trunk revision-id: vasil.dimov@oracle.com-20100422110752-1zowoqxel5xx3z2e

Then, some manual merge resolving and it worked. This should make it much
easier to merge the rest of InnoDB 1.1 and 1.2 from the mysql tree using
my bzr-reapply script.

This takes us to InnoDB 1.1.1(ish).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1996, 2010, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
520
520
Equivalent to:
521
521
 
522
522
char buf[8];
 
523
mach_write_ull(buf, val);
 
524
pars_info_add_literal(info, name, buf, 8, DATA_INT, 0);
 
525
 
 
526
except that the buffer is dynamically allocated from the info struct's
 
527
heap. */
 
528
UNIV_INTERN
 
529
void
 
530
pars_info_add_uint64_literal(
 
531
/*=========================*/
 
532
        pars_info_t*    info,           /*!< in: info struct */
 
533
        const char*     name,           /*!< in: name */
 
534
        ib_uint64_t     val);           /*!< in: value */
 
535
 
 
536
/****************************************************************//**
 
537
Equivalent to:
 
538
 
 
539
char buf[8];
523
540
mach_write_to_8(buf, val);
524
541
pars_info_add_literal(info, name, buf, 8, DATA_BINARY, 0);
525
542