()
| 531 | |
| 532 | #[test] |
| 533 | fn test_current_database() { |
| 534 | let conn = Connection::open_in_memory().unwrap(); |
| 535 | register_system_functions(&conn).unwrap(); |
| 536 | |
| 537 | let db_name: String = conn.query_row("SELECT current_database()", [], |row| row.get(0)).unwrap(); |
| 538 | assert_eq!(db_name, "main"); |
| 539 | } |
| 540 | |
| 541 | #[test] |
| 542 | fn test_current_schema() { |
nothing calls this directly
no test coverage detected