Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODBC 3.0 #217

Merged
merged 99 commits into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
be9dd33
Add files via upload
irodushka Nov 24, 2023
fb8ffa7
Upgrade major version -> 3
irodushka Nov 24, 2023
e32a137
Patches for MSVC build + some bugfixes
irodushka Nov 27, 2023
fe5bc89
SQL statement input parameters issue fix
irodushka Dec 1, 2023
a4266ee
revert last erratic commit
irodushka Dec 1, 2023
226d643
Fix HEAP CORRUPTION issues in Sqlda dtor
irodushka Dec 2, 2023
c7e96ee
Minor fixes
irodushka Dec 7, 2023
ffd9388
Windows installer fixes
irodushka Dec 8, 2023
4bc5e75
Help generator fix & manifest
irodushka Dec 8, 2023
c4e25c2
Fixes many problems)
irodushka Dec 12, 2023
7148729
Fix some warnings
irodushka Dec 13, 2023
1d6ef5d
Implement stl containers, fix sanitizer error
irodushka Dec 14, 2023
f5d8ddd
Fix retaining transactions & lite refactoring
irodushka Dec 14, 2023
fac71e1
static cursor lite refactoring
irodushka Dec 15, 2023
297e339
Static cursor deep refactoring
irodushka Dec 15, 2023
8a8879f
Issue #210 fix + additional bugfixes
irodushka Dec 22, 2023
a123ed7
Issue #211 fix (win installer)
irodushka Dec 23, 2023
3f0559b
Cumulative fix
irodushka Dec 26, 2023
ff0bbe3
Issue #121 fix
irodushka Dec 26, 2023
5f61dac
c++17 standard required
irodushka Dec 26, 2023
d2faf05
SQL arrays magic
irodushka Dec 27, 2023
28af805
#207 issue fix
irodushka Dec 28, 2023
314767b
Merge pull request #2 from irodushka/master
irodushka Dec 28, 2023
8edc427
Set buildnum to 3
irodushka Dec 28, 2023
acec070
Merge branch 'feature_ooapi' of https://github.com/irodushka/firebird…
irodushka Dec 28, 2023
e9beaeb
Substring fix+refactoring & expand META IDs
irodushka Dec 28, 2023
34ceaab
Issue #207 ODBC string functions. Build 3.0.0.5
irodushka Jan 23, 2024
d8ad5b8
Merge pull request #209 from irodushka/feature_ooapi
irodushka Jan 24, 2024
b0fee4f
Issue #207: SPACE() fn. Build 3.0.0.6
irodushka Jan 25, 2024
0559923
Fix Issue#216: PowerBI crashes. Build 3.0.0.7. Inspired by #201 solut…
irodushka Feb 8, 2024
d4a51a2
Merge pull request #215 from irodushka/feature_ooapi
irodushka Feb 8, 2024
6132dbd
Issue #214 : New FB4-5 types compatibility. Build 3.0.0.8
irodushka Feb 17, 2024
c130c19
Merge pull request #218 from irodushka/feature_ooapi
irodushka Feb 17, 2024
ee5b90c
use isc_dpb_set_bind instead of direct sql cmds
irodushka Feb 17, 2024
375a4cc
Merge pull request #219 from irodushka/feature_ooapi
irodushka Feb 17, 2024
5ed197f
Add binding compat option to DSN settings. Build 3.0.0.9 [related to …
irodushka Mar 7, 2024
630ac82
Merge pull request #220 from irodushka/feature_ooapi
irodushka Mar 7, 2024
ef84459
EnableCompatBind prop fix
irodushka Mar 7, 2024
859f09a
Merge pull request #221 from irodushka/feature_ooapi
irodushka Mar 7, 2024
e560c15
Create msbuild.yml
irodushka Mar 8, 2024
ac20fff
FB headers added to repo for auto build
irodushka Mar 9, 2024
660ac1f
Merge pull request #222 from irodushka/feature_ooapi
irodushka Mar 9, 2024
5a35e0b
Fix res/resource.it - remove BOM & spec. symbols
irodushka Mar 9, 2024
e613cbb
Merge pull request #223 from irodushka/feature_ooapi
irodushka Mar 9, 2024
3c376f9
Update msbuild.yml - platform added
irodushka Mar 9, 2024
2215448
Win32 installer scripts refact
irodushka Mar 9, 2024
8aca33a
Update msbuild.yml
irodushka Mar 10, 2024
8e9d0bb
Update msbuild.yml
irodushka Mar 10, 2024
db8795a
Update msbuild.yml
irodushka Mar 10, 2024
059a89c
Update msbuild.yml
irodushka Mar 10, 2024
21bbc20
Update msbuild.yml
irodushka Mar 10, 2024
6630b72
Update msbuild.yml
irodushka Mar 10, 2024
8fcfa41
Update msbuild.yml
irodushka Mar 10, 2024
cf3f352
Update msbuild.yml
irodushka Mar 10, 2024
a919d0c
Update msbuild.yml
irodushka Mar 10, 2024
52388d5
Update msbuild.yml
irodushka Mar 10, 2024
c2e90b9
Update msbuild.yml
irodushka Mar 10, 2024
c2bbfff
Update msbuild.yml
irodushka Mar 10, 2024
574401e
Update msbuild.yml
irodushka Mar 10, 2024
db2bb3a
Update msbuild.yml
irodushka Mar 10, 2024
5a06620
Update msbuild.yml
irodushka Mar 11, 2024
f855157
Update msbuild.yml
irodushka Mar 11, 2024
b41ccd5
Update msbuild.yml
irodushka Mar 11, 2024
20815e3
Update msbuild.yml
irodushka Mar 11, 2024
583876b
Update msbuild.yml
irodushka Mar 11, 2024
098f914
Update msbuild.yml
irodushka Mar 11, 2024
53c4fa6
Update msbuild.yml
irodushka Mar 11, 2024
80059da
Update msbuild.yml
irodushka Mar 11, 2024
7345239
Update msbuild.yml
irodushka Mar 11, 2024
dc7d2dc
Update msbuild.yml
irodushka Mar 11, 2024
1ffbff3
Update msbuild.yml
irodushka Mar 11, 2024
c40f334
Update msbuild.yml
irodushka Mar 11, 2024
7552e0c
Update msbuild.yml
irodushka Mar 11, 2024
1d56dbf
Update msbuild.yml
irodushka Mar 11, 2024
8ede8be
Update msbuild.yml
irodushka Mar 11, 2024
5266873
Update msbuild.yml
irodushka Mar 11, 2024
d27dd6e
Update msbuild.yml
irodushka Mar 11, 2024
9405e67
Fix MakePackage.bat for automation
irodushka Mar 11, 2024
f70d5af
Merge pull request #224 from irodushka/feature_ooapi
irodushka Mar 11, 2024
a8b440f
Update msbuild.yml
irodushka Mar 11, 2024
5552790
Update msbuild.yml
irodushka Mar 11, 2024
8753bdf
Update msbuild.yml
irodushka Mar 11, 2024
309c2a4
Update msbuild.yml
irodushka Mar 11, 2024
4cc5aa8
Update msbuild.yml
irodushka Mar 13, 2024
056055b
Update msbuild.yml
irodushka Mar 13, 2024
9c96303
Issue #204: WireCompression support
irodushka Apr 13, 2024
707d10f
Merge pull request #225 from irodushka/feature_ooapi
irodushka Apr 13, 2024
f203a03
Update Readme.txt (known issues section)
irodushka Sep 3, 2024
aea5119
Update README.md
irodushka Sep 3, 2024
e81f641
Docs for 3.0 release
irodushka Sep 3, 2024
abce1eb
Fixes for proper Linux build
irodushka Sep 3, 2024
f6dbdef
Issue#73: SQL_ATTR_MAX_ROWS fix
irodushka Sep 4, 2024
b7b1716
Update ChangeLog_v3.0
irodushka Sep 4, 2024
c54f9e6
Create linux.yml for linux build action
irodushka Sep 4, 2024
7956795
Update linux.yml
irodushka Sep 4, 2024
c4778e4
Update linux.yml
irodushka Sep 4, 2024
e4281dd
Update WriteBuildNo.h
irodushka Sep 4, 2024
078926c
Update README.md
irodushka Sep 9, 2024
15d1b28
Update README.md -> add actions status
irodushka Sep 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Linux

on:
push:
branches: [ "feature_ooapi" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Install UnixODBC package
run: sudo apt-get install -y unixodbc unixodbc-dev

- name: Go to build folder & make
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
cd Builds/Gcc.lin
cp makefile.linux makefile
make

- uses: actions/upload-artifact@v4
with:
name: linux_libs
path: ./Builds/Gcc.lin/Release_*
91 changes: 91 additions & 0 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: MSBuild

on:
push:
branches: [ "feature_ooapi" ]
#pull_request:
# branches: [ "feature_ooapi" ]

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: ./Builds/MsVc2022.win/OdbcFb.sln

# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: Release

INNO_SETUP_PATH: 'C:\Program Files (x86)\Inno Setup 6'

permissions:
contents: read

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Install html-help-workshop, sed, innosetup
run: |
choco install html-help-workshop
choco install sed
choco install innosetup

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}

- name: Stub
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
#cd "C:\Program Files (x86)\"
#dir
env

- name: Build win32
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=Win32 ${{env.SOLUTION_FILE_PATH}}

- name: Build x64
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=x64 ${{env.SOLUTION_FILE_PATH}}

- name: Build InnoSetup installers
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
cd Install\Win32
dir
./MakePackage.bat
./MakePackage.bat WIN32

- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v4
id: virustotal_scan
with:
#vt_api_key: ${{ secrets.VT_API_KEY }}
vt_api_key: effc35cbb3eb35975d5cf74eee8b75a1a1b12b6af0d66ed2a65cba48becaecc0
files: |
./Install/Win32/install_image/*_Win32.exe
./Install/Win32/install_image/*_x64.exe

- name: Upload artefacts
run: |
echo "${{ steps.virustotal_scan.outputs.analysis }}" > ./Install/Win32/install_image/VirusTotalScan.txt
- uses: actions/upload-artifact@v4
with:
name: win_installers
path: ./Install/Win32/install_image/
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Builds/*/Win32/
Builds/*/x64/
Builds/*/.vs/
Install/Win32/install_image/
*.suo
*.ncb
*.user
*.chm
build_*.log
OdbcJdbcSetup_*.iss
OdbcJdbcSetup_*.iss
2 changes: 1 addition & 1 deletion Builds/Gcc.lin/makefile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GCC = g++

#Override default variables for this build
#ARCH = x86
#FIREBIRD=/usr/lib64/firebird
FIREBIRD=../../FBClient.Headers

# Get version info
MAJOR_VERSION = $(shell cat ../../SetupAttributes.h | grep "define MAJOR_VERSION" | cut -f 3)
Expand Down
16 changes: 16 additions & 0 deletions Builds/Gcc.lin/readme.linux
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
====== ODBC v3.0 driver notes ======================================

Version 3.0 has no significant changes to the build sequence compared to the previous version.
However, to build from source, you should use C++17.

How to build:
* Make sure you have Unix ODBC dev package installed. If not - install it (for example: `sudo apt install unixodbc-dev` for Ubuntu)
* Move to Builds/Gcc.lin
* Rename makefile.linux -> makefile
* Set the DEBUG var if you need a Debug build instead of Release (by default)
* Run `make`
* Your libraries are in ./Release_<arch> or ./Debug_<arch> folder.

===


1)==================================================================
For connect from unixODBC :

Expand Down
30 changes: 30 additions & 0 deletions Builds/MsVc2022.win/OdbcFb.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.6.33815.320
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OdbcFb", "OdbcFb.vcxproj", "{C6127398-654D-4196-B8C1-5BB32D75D7FD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Debug|Win32.ActiveCfg = Debug|Win32
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Debug|Win32.Build.0 = Debug|Win32
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Debug|x64.ActiveCfg = Debug|x64
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Debug|x64.Build.0 = Debug|x64
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Release|Win32.ActiveCfg = Release|Win32
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Release|Win32.Build.0 = Release|Win32
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Release|x64.ActiveCfg = Release|x64
{C6127398-654D-4196-B8C1-5BB32D75D7FD}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A4C550A6-7D81-4A2D-B5B4-ABBCBD76197E}
EndGlobalSection
EndGlobal
Loading
Loading