forked from gitram/vertica
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to a pure Ruby version since native C libs aren't available for …
…most platforms
- Loading branch information
mattbauer
committed
Jan 22, 2009
1 parent
584b159
commit e0361e4
Showing
35 changed files
with
829 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module Vertica | ||
|
||
class Error < StandardError | ||
|
||
class ConnectionError < Error; end | ||
|
||
class MessageError < Error; end | ||
|
||
end | ||
|
||
PROTOCOL_VERSION = 3 << 16 | ||
|
||
end | ||
|
||
require 'vertica/column' | ||
require 'vertica/result' | ||
require 'vertica/connection' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module Vertica | ||
class Notice | ||
attr_reader :field_type | ||
attr_reader :field_value | ||
|
||
def initialize(field_type, field_value) | ||
@field_type = field_type | ||
@field_value = field_value | ||
end | ||
end | ||
end |
Oops, something went wrong.