~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to src/modules/rlm_sql/drivers/rlm_sql_mysql/sql_mysql.c

  • Committer: Bazaar Package Importer
  • Author(s): Paul Hampson
  • Date: 2006-01-15 13:34:13 UTC
  • mto: (3.1.3 dapper) (4.1.3 sid) (1.1.14 upstream)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20060115133413-zo1dslttvdoalqym
Tags: upstream-1.1.0
ImportĀ upstreamĀ versionĀ 1.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * sql_mysql.c          SQL Module
3
3
 *
4
 
 * Version:     $Id: sql_mysql.c,v 1.18 2004/01/22 18:23:20 aland Exp $
 
4
 * Version:     $Id: sql_mysql.c,v 1.18.4.1 2005/12/09 16:10:08 nbk Exp $
5
5
 *
6
6
 *   This program is free software; you can redistribute it and/or modify
7
7
 *   it under the terms of the GNU General Public License as published by
74
74
                        sqlsocket->id);
75
75
 
76
76
        mysql_init(&(mysql_sock->conn));
 
77
        mysql_options(&(mysql_sock->conn), MYSQL_READ_DEFAULT_GROUP, "freeradius");
77
78
        if (!(mysql_sock->sock = mysql_real_connect(&(mysql_sock->conn),
78
79
                                                    config->sql_server,
79
80
                                                    config->sql_login,