~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/replace.rst

Merge Revision revid:marko.makela@oracle.com-20100601140355-u3kxl0yl0ljl5tx9 from MySQL InnoDB

Original revid:marko.makela@oracle.com-20100601140355-u3kxl0yl0ljl5tx9

Original Authors: Marko Mäkelä <marko.makela@oracle.com>
Original commit message:
Merge a change from mysql-5.1-innodb:

  ------------------------------------------------------------
  revno: 3491
  revision-id: marko.makela@oracle.com-20100601134335-ccthwwru23kn09qw
  parent: marko.makela@oracle.com-20100601120751-1uq7bbta5n7ts0qr
  committer: Marko Mäkelä <marko.makela@oracle.com>
  branch nick: 5.1-innodb
  timestamp: Tue 2010-06-01 16:43:35 +0300
  message:
    Bug#48197: Concurrent rw_lock_free may cause assertion failure

    rw_lock_t: Remove magic_n unless UNIV_DEBUG is defined.
    rw_lock_free(): Invalidate magic_n only after removing from rw_lock_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
A typical query:
10
10
 
11
 
.. code-block:: mysql
12
 
 
13
 
   REPLACE INTO table_1 SET a=5;
 
11
REPLACE INTO table_1 SET a=5;
14
12
 
15
13
or
16
14
 
17
 
.. code-block:: mysql
18
 
 
19
 
   REPLACE INTO table_1 VALUES (4);
20
 
 
21
 
 
22
 
REPLACE is an extension to the SQL Standard that first appeared in MySQL.
 
15
REPLACE INTO table_1 VALUES (4);
 
16
 
 
17
 
 
18
REPLACE is an extension to the SQL Standard that firtst appeared in MySQL.