Skip to content

Instantly share code, notes, and snippets.

View artyom-smirnov's full-sized avatar

Artyom Smirnov artyom-smirnov

  • Red Soft
  • Russian Federation
View GitHub Profile
#!/bin/bash
rm -f repro.fdb f
ISQL=bin/isql
GFIX=bin/gfix
cat << EOF > create.sql
create database 'repro.fdb';
create table test(test varchar(255));
EOF
#!/bin/bash
DB_PATH=/tmp/testdb.fdb
DB=localhost:$DB_PATH
ISQL="/opt/firebird/bin/isql -q -u SYSDBA -p masterkey"
cat << EOF > /tmp/fbtrace_custom.conf
database
{
enabled = true
@artyom-smirnov
artyom-smirnov / gist:6653263
Created September 21, 2013 19:06
Clang vector assign with reallocation crash
#include <vector>
#include <string>
#include <iostream>
using namespace std;
class S
{
public:
S():