Skip to content

Instantly share code, notes, and snippets.

Popa Marius Adrian mariuz

Block or report user

Report or block mariuz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mariuz
mariuz / icu_error.log
Created Mar 31, 2016
Icu Error with Firebird 3.0 patch
View icu_error.log
make[6]: Making `all' in `makeconv'
make[7]: Entering directory '/home/mariuz/work/libo/workdir/UnpackedTarball/firebird/extern/icu/source/tools/makeconv'
generating dependency information for gencnvex.c
generating dependency information for genmbcs.c
generating dependency information for ucnvstat.c
generating dependency information for makeconv.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common -I./../toolutil -DHAVE_CONFIG_H -pthread -c -o makeconv.o makeconv.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common -I./../toolutil -DHAVE_CONFIG_H -pthread -c -o ucnvstat.o ucnvstat.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common -I./../toolutil -DHAVE_CONFIG_H -pthread -c -o genmbcs.o genmbcs.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common
@mariuz
mariuz / VC14Changes.diff
Created Mar 30, 2016
Add Visual Studio 14 Changes to compilre firebird 2.5 branch https://github.com/FirebirdSQL/firebird/pull/12
View VC14Changes.diff
diff --git a/src/burp/burp.cpp b/src/burp/burp.cpp
index 58dfdf0..1f29346 100644
--- a/src/burp/burp.cpp
+++ b/src/burp/burp.cpp
@@ -126,8 +126,8 @@ static const StatFormat STAT_FORMATS[] =
{
{"time", "%4lu.%03u ", 9},
{"delta", "%2lu.%03u ", 7},
- {"reads", "%6"UQUADFORMAT" ", 7},
- {"writes", "%6"UQUADFORMAT" ", 7}
View flamerobin.sln
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "flamerobin", "flamerobin_flamerobin.vcproj", "{3C914FEE-C6E8-58AA-B046-6E951FCD6BFC}"
ProjectSection(ProjectDependencies) = postProject
{F98A5270-7698-516C-9430-13EBB667AEA5} = {F98A5270-7698-516C-9430-13EBB667AEA5}
{F98A5270-7698-516C-9430-13EBB667AEA5} = {F98A5270-7698-516C-9430-13EBB667AEA5}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ibpp", "flamerobin_ibpp.vcproj", "{F98A5270-7698-516C-9430-13EBB667AEA5}"
EndProject
@mariuz
mariuz / UpgradeLogVS2013.htm
Created Nov 19, 2015
UpgradeLogVS2013.htm
View UpgradeLogVS2013.htm
<!DOCTYPE html>
<!-- saved from url=(0014)about:internet -->
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><meta content="en-us" http-equiv="Content-Language" /><meta content="text/html; charset=utf-16" http-equiv="Content-Type" /><title _locID="ConversionReport0">
Migration Report
</title><style>
/* Body style, for the entire document */
body
{
background: #F3F3F4;
View service_query.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ibase.h>
#define SVC_RESPBUF 512
int main (void) {
char *user = "SYSDBA",
@mariuz
mariuz / isc_service_attach.c
Created Aug 4, 2015
isc_service_attach test gcc isc_service_attach.c -lfbclient
View isc_service_attach.c
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ibase.h>
int main (void) {
char *user = "SYSDBA",
*pass = "masterkey";
char *x;
@mariuz
mariuz / test-script-for-phpbug-61183.php
Created Jul 16, 2015
test-script-for-phpbug-61183
View test-script-for-phpbug-61183.php
cat test.php
<?php
try
{
$dbh = new PDO('firebird:host=localhost;dbname=/tmp/tests.fdb', 'SYSDBA', 'masterkey');
for($i = 0; $i < 5000; $i++)
{
$statement = $dbh->prepare('INSERT INTO "PHPBB_USERS" ("USER_ID", "USERNAME", "USERNAME_CLEAN", "USER_PERMISSIONS", "USER_SIG", "USER_OCC", "USER_INTERESTS") VALUES (?, ?, ?, ?, ?, ?, ?)');
$statement->execute(array (0 => '2', 1 => 'banned', 2 => 'banned', 3 => '', 4 => '', 5 => '', 6 => ''));
echo 'Statement run: ' . $i . "\n";
View test db for phpbug 61183.sql
CREATE TABLE phpbb_users (
user_id INTEGER NOT NULL,
user_type INTEGER DEFAULT 0 NOT NULL,
group_id INTEGER DEFAULT 3 NOT NULL,
user_permissions BLOB SUB_TYPE TEXT CHARACTER SET NONE DEFAULT '' NOT NULL,
user_perm_from INTEGER DEFAULT 0 NOT NULL,
user_ip VARCHAR(40) CHARACTER SET NONE DEFAULT '' NOT NULL,
user_regdate INTEGER DEFAULT 0 NOT NULL,
username VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
username_clean VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
@mariuz
mariuz / mariuz.xml
Created Jul 14, 2015
sudo lshw -xml > marius.xml
View mariuz.xml
<?xml version="1.0" standalone="yes" ?>
<!-- generated by lshw-B.02.16 -->
<!-- GCC 4.8.2 -->
<!-- Linux 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 -->
<!-- GNU libc 2 (glibc 2.19) -->
<list>
<node id="lorkstation64" claimed="true" class="system" handle="DMI:0001">
<description>Desktop Computer</description>
<product>To Be Filled By O.E.M. (To Be Filled By O.E.M.)</product>
<vendor>To Be Filled By O.E.M.</vendor>
View gist:ecfbab056136b8736bda
export CPPUNITTRACE="gdb --args"
SAL_LOG="+WARN+INFO.connectivity.firebird" make CppunitTest_dbaccess_firebird_test
make -j 4 -rs -f /home/mariuz/work/libo/Makefile.gbuild CppunitTest_dbaccess_firebird_test
[build CUT] dbaccess_firebird_test
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
(gdb) run
Starting program: /home/mariuz/work/libo/workdir/LinkTarget/Executable/cppunittester /home/mariuz/work/libo/workdir/LinkTarget/CppunitTest/libtest_dbaccess_firebird_test.so --headless -env:BRAND_BASE_DIR=file:///home/mariuz/work/libo/instdir -env:BRAND_SHARE_SUBDIR=share -env:UserInstallation=file:///home/mariuz/work/libo/workdir/CppunitTest/dbaccess_firebird_test.test.user -env:CONFIGURATION_LAYERS=xcsxcu:file:///home/mariuz/work/libo/instdir/share/registry\ xcsxcu:file:///home/mariuz/work/libo/workdir/unittest/registry -env:UNO_TYPES=file:///home/mariuz/work/libo/instdir/program/types/offapi.rdb\ file:///home/mariuz/work/libo/instdir/program/types/oovbaapi.rdb\ file:///home/mariuz/work/libo/instdir/program/types.rd
You can’t perform that action at this time.