| 61 | } |
| 62 | |
| 63 | void WriterImplementation::add(Firebird::CheckStatusWrapper* st, const char* name) |
| 64 | { |
| 65 | try |
| 66 | { |
| 67 | putLevel(); |
| 68 | |
| 69 | current.clear(); |
| 70 | current.insertString(AuthReader::AUTH_NAME, name, strlen(name)); |
| 71 | fb_assert(plugin.hasData()); |
| 72 | if (plugin.hasData()) |
| 73 | { |
| 74 | current.insertString(AuthReader::AUTH_PLUGIN, plugin); |
| 75 | } |
| 76 | type = "USER"; |
| 77 | } |
| 78 | catch (const Firebird::Exception& ex) |
| 79 | { |
| 80 | ex.stuffException(st); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | void WriterImplementation::setPlugin(const char* m) |
| 85 | { |
no test coverage detected