File: libmysql_versions.ld.in

package info (click to toggle)
mariadb-10.0 10.0.16-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 416,512 kB
  • sloc: cpp: 1,351,103; ansic: 803,086; perl: 59,621; pascal: 32,136; sh: 25,156; yacc: 14,897; xml: 5,194; sql: 4,651; cs: 4,647; makefile: 4,113; python: 2,526; ruby: 2,496; lex: 1,427; asm: 295; awk: 54; php: 22; sed: 16
file content (45 lines) | stat: -rw-r--r-- 1,245 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
  This version script is heavily inspired  by Fedora's and Mageia's version
  scripts for MySQL client shared library.
  But it was modified to support Debian-compatible versioning too.

  In RedHat universe, symbols from old libmysqlclient.so.16
  keep their libmysqlclient_16 version. New symbols added in
  libmysqlclient.so.18 get the new libmysqlclient_18 version.

  In Debian all symbols in libmysqlclient.so.18 have libmysqlclient_18 version,
  including symbols that existed in libmysqlclient.so.16

  We solve this by putting all symbols into libmysqlclient_18 version node,
  but creating aliases for old symbols in the libmysqlclient_16 version node.
*/

@CLIENT_API_5_1_ALIASES@

/*
  On Fedora the following symbols are exported, but renamed into a mysql_
  namespace. We export them as aliases, but keep original symbols too. See
  MDEV-4127.
*/
mysql_default_charset_info = default_charset_info;
mysql_get_charset = get_charset;
mysql_get_charset_by_csname = get_charset_by_csname;
mysql_net_realloc = net_realloc;
mysql_client_errors = client_errors;

VERSION {

libmysqlclient_18 {
  global:
@CLIENT_API_5_1_LIST@
@CLIENT_API_5_5_LIST@

  local:
	*;
};

libmysqlclient_16 {
  /* empty here. aliases are added above */
};

}