summaryrefslogtreecommitdiffstats
path: root/src/db/dbconnect.sqc (plain)
blob: aab7bcbacb8ab57f5988f87c052d19f4dbd5c1ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "dbconnect.h"
#include "../util/check_error_db.h"

EXEC SQL INCLUDE sqlca;

void
dbconnect (void)
{
  EXEC SQL CONNECT TO exp004;

  /*
   * Only check for a database error rather than using check_error to
   * test for OpenGL and database errors.  OpenGL may not yet be
   * prepared and checking it prematurely could cause odd behavior.
   */
  check_error_db (__FILE__, __LINE__);

  return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.