~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/discover_ms.cc

  • Committer: Brian Aker
  • Date: 2010-08-17 01:34:55 UTC
  • mto: (1711.1.23 build)
  • mto: This revision was merged to the branch mainline in revision 1714.
  • Revision ID: brian@tangent.org-20100817013455-zx3nm7qilxvpwrgb
Style on structure cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2008 PrimeBase Technologies GmbH, Germany
 
1
/* Copyright (c) 2008 PrimeBase Technologies GmbH, Germany
2
2
 * Derived from code Copyright (C) 2000-2004 MySQL AB
3
3
 *
4
4
 * PrimeBase MS
15
15
 *
16
16
 * You should have received a copy of the GNU General Public License
17
17
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
19
 *
20
20
 *  Created by Barry Leslie on 8/27/08.
21
21
 *
1148
1148
    goto err;
1149
1149
  }
1150
1150
 
1151
 
  pthread_mutex_lock(&LOCK_open);
 
1151
  LOCK_open.lock;
1152
1152
  if (!internal_tmp_table && !(create_info->options & HA_LEX_CREATE_TMP_TABLE))
1153
1153
  {
1154
1154
    if (!access(path,F_OK))
1256
1256
#endif
1257
1257
  error= FALSE;
1258
1258
unlock_and_end:
1259
 
  pthread_mutex_unlock(&LOCK_open);
 
1259
  LOCK_open.unlock;
1260
1260
 
1261
1261
err:
1262
1262
  thd_proc_info(thd, "After create");