Mercurial > hg > orthanc-databases
comparison MySQL/Plugins/IndexPlugin.cpp @ 163:4d32c9c8d6c0
Added support for TLS connections
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 13 Jul 2020 11:59:29 +0200 |
parents | 275e14f57f1e |
children | 3236894320d6 |
comparison
equal
deleted
inserted
replaced
162:fc13b4e8f888 | 163:4d32c9c8d6c0 |
---|---|
63 return 0; | 63 return 0; |
64 } | 64 } |
65 | 65 |
66 try | 66 try |
67 { | 67 { |
68 OrthancDatabases::MySQLParameters parameters(mysql); | 68 OrthancDatabases::MySQLParameters parameters(mysql, configuration); |
69 | 69 |
70 /* Create the database back-end */ | 70 /* Create the database back-end */ |
71 backend_.reset(new OrthancDatabases::MySQLIndex(parameters)); | 71 backend_.reset(new OrthancDatabases::MySQLIndex(parameters)); |
72 | 72 |
73 /* Register the MySQL index into Orthanc */ | 73 /* Register the MySQL index into Orthanc */ |