~ubuntu-branches/ubuntu/utopic/mariadb-5.5/utopic-security

« back to all changes in this revision

Viewing changes to libmysql/rpm_support.cc

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen, Otto Kekäläinen, James Page
  • Date: 2014-03-02 01:38:26 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140302013826-z3afnfteqo86pccd
[ Otto Kekäläinen ]
* New upstream release.
* Updated Danish debconf translation (Closes: #739750).
* d/control: Added explicit Conflicts/Replaces for mysql-5.6 packages
  (Closes: #739841).
* d/control: Update for use of virtual-* packages for switching to/from
  MySQL alternatives.

[ James Page ]
* d/control: Drop Nicholas from Uploaders, MIA (Closes: #739360).
* d/control: Add libjemalloc-dev to BD's.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
  Provide aliases for several symbols, to support drop-in replacement for
3
 
  MariaDB on Fedora and several derives distributions.
4
 
 
5
 
  These distributions redefine several symbols (in a way that is no compatible
6
 
  with either MySQL or MariaDB) and export it from the client library ( as seen
7
 
  e.g from this patch)
8
 
http://lists.fedoraproject.org/pipermail/scm-commits/2010-December/537257.html
9
 
 
10
 
  MariaDB handles compatibility distribution by providing the same symbols from 
11
 
  the client library if it is built with -DRPM
12
 
 
13
 
*/
14
 
#include <errmsg.h>
15
 
#include <my_sys.h>
16
 
#include <mysql.h>
17
 
extern "C" {
18
 
 
19
 
CHARSET_INFO *mysql_default_charset_info = default_charset_info;
20
 
 
21
 
CHARSET_INFO *mysql_get_charset(uint cs_number, myf flags)
22
 
{
23
 
  return get_charset(cs_number, flags);
24
 
}
25
 
 
26
 
CHARSET_INFO *mysql_get_charset_by_csname(const char *cs_name,
27
 
                                           uint cs_flags, myf my_flags)
28
 
{
29
 
   return get_charset_by_csname(cs_name, cs_flags, my_flags);
30
 
}
31
 
 
32
 
 
33
 
my_bool mysql_net_realloc(NET *net, size_t length)
34
 
{
35
 
   return net_realloc(net,length);
36
 
}
37
 
 
38
 
const char **mysql_client_errors = client_errors;
39
 
 
40
 
} /*extern "C" */
41